+ Reply to Thread
Results 1 to 3 of 3

Hiding sheets

  1. #1
    Registered User
    Join Date
    01-17-2014
    Location
    Leeds
    MS-Off Ver
    Excel 2007
    Posts
    2

    Hiding sheets

    I have created a form using excel 2007 but being new to VBA I am struggling with finding a solution to what I would like to do.
    The workbook is only two sheets one named New and one Amend. The first question on the form asks whether the end user wants to create a new entry or amend an existing one (The entry refers to is on a database that they have no access to, I will be doing the updates).
    I have used a data validation list to create a drop down for them to select either New or Amend. what I would like is when they pick the Amend option, the sheet for a new entry is hidden from them and when they select new from the drop down the amend sheet is hidden.
    Any help with the code to do this would be greatly appreciated.

  2. #2
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Hiding sheets

    Hello,

    You can try this:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-17-2014
    Location
    Leeds
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Hiding sheets

    Sorry maybe I didn't explain very well.
    What I am trying to achieve is when someone selects Add from the dropdown in cell K19 then only the Add sheet is visible or when they select Amend only the Amend sheet is visible, I do want them to be able to change their mind which is why i have given the option on both sheets.
    I have attached the file in the hope someone can help.
    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. Re-Naming Sheets per Cell data & Hiding Sheets
    By dej222 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2009, 10:20 PM
  2. hiding sheets but still letting macros run when printing hidden sheets
    By stevesunfold in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 11-13-2008, 04:35 AM
  3. Locking Sheets / Hiding Sheets
    By Lee Harris in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-29-2005, 03:25 AM
  4. Hiding sheets
    By Natalie in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-07-2005, 09:06 PM
  5. [SOLVED] Hiding Sheets
    By Rain in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-18-2005, 05:06 PM

Tags for this Thread

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