Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Rani Singh   on Nov 28 In MS Office Category.

  
Question Answered By: Sean Grant   on Nov 28

I think you are looking for the ActiveSheet Property. If you
search on "ActiveSheet" in VBA Help, and choose "ActiveSheet
Property", you will find what you need including this Example:

****************************************************************
This example displays the name  of the active  sheet.

MsgBox "The name of the active sheet  is " & ActiveSheet.Name
****************************************************************

So, for your application you want to find the Sheet.Name that
matches ActiveSheet.Name and then take the appropriate action.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on how do I get the current worksheet name into a variabl Or get search suggestion and latest updates.


Tagged: