+ Reply to Thread
Results 1 to 4 of 4

Activate a particular sheet when i close workbook

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Activate a particular sheet when i close workbook

    hi,

    i want to activate sheets("entry") before i close my workbook, and i want to activate Sheets("entry") if i saved the workbook before close the workbook


    thank you
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,336

    Re: Activate a particular sheet when i close workbook

    Please Login or Register  to view this content.
    You gonna have to be more specific as to your requirement.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Activate a particular sheet when i close workbook

    HI,

    Please Login or Register  to view this content.
    In present i am using above code, but the problem is, suppose now i am working in sheets("to") and i saved him with Ctrl+s and now i close the workbook then macro will not work and will not activate the sheets("entry").

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,336

    Re: Activate a particular sheet when i close workbook

    Why not just activate the sheet on workbooks open:

    Edited:
    Please Login or Register  to view this content.
    Last edited by sintek; 05-11-2017 at 05:44 AM.

+ 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] Find a specific value in all sheets then activate that sheet before close
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-06-2017, 04:19 AM
  2. Activate the first workbook from the listbox, copy all the contents & close it
    By kit370 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-22-2014, 07:38 PM
  3. Activate another open workbook and sheet
    By DFrank231 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-15-2013, 11:14 AM
  4. Activate sheet name from other workbook
    By emina002 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2012, 02:58 AM
  5. Activate sheet after open workbook?
    By proepert in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2010, 08:22 AM
  6. Activate workbook before close event when excel is closed
    By RobynC in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2007, 06:19 AM
  7. Replies: 2
    Last Post: 03-21-2005, 08: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