+ Reply to Thread
Results 1 to 6 of 6

Activating Sheets

  1. #1
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Activating Sheets

    Hi all
    I want to activate a different sheets from "SEARCHBUTTON" to
    2015,2016,2018,2019. How do I reset the code.

    Or

    Can it just be the entire workbook except Sheet3, instead of putting the worksheets name individually. Because when the 2020 comes I have to add it in.

    Thanks.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,436

    Re: Activating Sheets

    Not sure what you are trying to do. There can only be one Active Sheet. You don't need to activate/select a sheet in order to manipulate it. What is your objective here?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Activating Sheets

    Hi

    Sheets("SEARCHBUTTON").Activate

    the SEARCHBUTTON is the name of the worksheet. I have a command "button" on this worksheet. But I decided to place that button command on each worksheet i.e. 2015, 2016, 2017, 2018 and 2019.
    Thanks.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,436

    Re: Activating Sheets

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Activating Sheets

    Hi TMS
    Thanks for your respond. I was able to fix the issue.
    I just need to deactivate one of the sheets.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,436

    Re: Activating Sheets

    You're welcome. Thanks for letting us know.

+ 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. Freeze panes on certain sheets in workbook w/o activating sheets?
    By Ouka in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2015, 02:44 AM
  2. Help with activating sheets
    By naturaltvventy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-12-2014, 01:30 PM
  3. transfer data between sheets without activating
    By carbie04xc in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-18-2009, 08:14 AM
  4. Activating Sheets in another file and writing to them
    By weaseljw17 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-20-2006, 09:04 PM
  5. Looping thru Sheets without activating
    By Myles in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-30-2005, 12:10 PM
  6. [SOLVED] Activating sheets with same name in multiple workbooks
    By Barb Reinhardt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-26-2005, 01:05 PM
  7. Protect/Unprotect sheets (without activating them)
    By Te4t0n in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-12-2005, 03:47 AM

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