Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fire Macro w/WB change

Status
Not open for further replies.

RonRepp

Technical User
Feb 25, 2005
1,031
US
Hi, All:

Thanks to a great answer in thread707-1638014, I now have a working script.

My next step is to have this menu reset and rewrite every time a workbook changes activation.

Can it be done using only an XLT WB file?

Thanks,

Ron Repp

If gray hair is a sign of wisdom, then I'm a genius.

My newest novel: Wooden Warriors
 

In the Workbook Object...
Code:
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)

End Sub

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Hm, I have not changed it to a template yet, but it doesn't fire except on the first WB.

Ron Repp

If gray hair is a sign of wisdom, then I'm a genius.

My newest novel: Wooden Warriors
 



Your requirement was not very clear.

Did my post suggest ANYTHING to you?
Code:
Private Sub Workbook_Activate()

End Sub
in the WORKBOOK OBJECT.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top