+ Reply to Thread
Results 1 to 7 of 7

Button to produce a new tab.

  1. #1
    Forum Contributor
    Join Date
    10-06-2015
    Location
    USA
    MS-Off Ver
    MS office 2010
    Posts
    123

    Button to produce a new tab.

    I am looking to be able to press a button on the main tab to create a new tab and to have the information required to populate on each tab. See the attached. I have what I am looking for in red.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Button to produce a new tab.

    This is not quite the design you specified, but it does accomplish the requirement, I believe.

    The last sheet in the workbook contains the Clinic Table. I filled it in with the first couple of clinics. Complete filling it in and as you add clinics here, they get added to the dropdown list on the Clinics sheet. Once you have this table filled in, you can hide the sheet until you need to unhide it to add new clinics.

    The next to last sheet is called Template. This is basically the “Blank” sheet for data entry. This sheet can be hidden as well.

    On the Clinic Sheet, select the clinic you desire and click on the Go to Clinic Button. This button will take you to the desired sheet if it exists. If it does not exist, it will ask you if you want to create it.

    Or you can click on the Create Clinic Button. This button creates the sheet if it does not already exist. If the sheet does exist, it will give you a message and take you there.

    On the individual sheets. When you click on the Clinic Tab Button, it opens the Clinic Summary sheet, finds the clinic name there and copies the Monthly CPT data to that row.

    https://www.excelforum.com/excel-gen...a-new-tab.html
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Contributor
    Join Date
    10-06-2015
    Location
    USA
    MS-Off Ver
    MS office 2010
    Posts
    123

    Re: Button to produce a new tab.

    When I create a new clinic the clinic name does not change and the clinic information does not populate on the clinic summary tab. how would I do this?

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Button to produce a new tab.

    What do you mean by, "the clinic name does not change?" You can't select it in the dropdown box? Or when you press the button it does not go to or create a page with that name?

  5. #5
    Forum Contributor
    Join Date
    10-06-2015
    Location
    USA
    MS-Off Ver
    MS office 2010
    Posts
    123

    Re: Button to produce a new tab.

    When I create a new clinic it does populate a new tab but the clinic information does not populate on the clinic summary tab on a new line.

  6. #6
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Button to produce a new tab.

    OK, I am able to duplicate the issue. I think it is a simple fix. I will get to it later today.

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Button to produce a new tab.

    Fixed - I believe.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 02-27-2017, 09:17 AM
  2. [SOLVED] Form - select button & retrieve button name or button's caption
    By lexusap in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-27-2016, 12:28 AM
  3. [SOLVED] Re-produce chart
    By Villalobos in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 07-09-2016, 05:19 AM
  4. [SOLVED] Button Function to Produce New Rows
    By Bargyy in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-14-2016, 12:49 PM
  5. Minimum value to produce x mean
    By Shaggyfort1e in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-26-2008, 11:18 PM
  6. Why does this produce an error?
    By zaphod2003 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-12-2006, 05:22 AM
  7. produce a formulate to produce assigned seats for dinner
    By DavidJoss in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-03-2005, 10:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1