+ Reply to Thread
Results 1 to 2 of 2

Create a toggle to either create a new sheet or view if sheet already exists

  1. #1
    Registered User
    Join Date
    04-28-2021
    Location
    United States
    MS-Off Ver
    Office 2019
    Posts
    1

    Create a toggle to either create a new sheet or view if sheet already exists

    Looking for suggestions/example of the best method for creating or viewing a sheet. Have a bid/budget template with about 100 line items. For each line item there is a bid tab where we enter bidders pricing. On the main budget page I'm looking to have a button for example that says CREATE or VIEW depending on if the sheet has already been created. So first time this budget will all say CREATE and I will click which will then copy a template sheet and name it the budget line item name. Example is I have a line item named Fence. Then click the button to CREATE the bid sheet where I will enter bids. Once the sheet has been created the button name will now switch to say VIEW. So then I can go back and view this sheet name. Because I will have so many sheets I planned to hide all sheets unless I clicked on view. Again looking for best method suggestions or examples.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,844

    Re: Create a toggle to either create a new sheet or view if sheet already exists

    If the button name changes to VIEW, what happens if you want to create a new sheet? I would suggest to use two buttons instead of one, a VIEW button and a CREATE button. This way you could perform either action at any time. Also, it would be easier to help and test possible solutions if you could attach a copy of your file. Explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples from your data (de-sensitized if necessary). See the yellow banner at the top of this page for instructions to attach a file.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

+ 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. [SOLVED] VBA to create workbook from sheet name, check if file exists
    By maym in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 07-08-2016, 01:04 AM
  2. [SOLVED] create new sheet deleting old if it exists
    By markDuffy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-21-2015, 12:35 PM
  3. Check if Sheet Name exists Then Error or continue Create
    By alimsab in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-05-2015, 02:55 PM
  4. [SOLVED] if sheet 9 exists, clear it otherwise create one
    By asdzxc in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-31-2014, 06:17 PM
  5. [SOLVED] check if sheet exists, if not then create
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2013, 06:12 AM
  6. create sheet on tree view selected node
    By emina002 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-27-2011, 03:01 AM
  7. If Sheet exists, GOTHERE, else create it
    By CLR in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-29-2005, 03:06 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