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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Starting a macro from a custom button 1

Status
Not open for further replies.

Mikeb1970

Technical User
Nov 14, 2003
101
BE
Hi all,

I'm sure this is quite simple, just haven't read anything about this sofar.

I've created a costum toolbar containing two buttons,and i did asign a macro to both of them, when i save my work i get a request if i want to save the changes.

What do i need to change when the next time i open excel the code is assigned to the buttons, like an addin?

Thnx for any help posted

With regards

Need to use Office 2000 at work :-(
 
If I have understood your question correctly, you need to save them in personal.xls. If you dont have personal.xls go to tools/macro/record new macro in the window that pops up choose personal macro workbook from the dropdown. You can then copy your modules/macros into personal.xls which can be found in C:\Documents and Settings\yourusername\Application Data\Microsoft\Excel\XLSTART this may vary dependant on operating system and version of excel.
Or open VBE and personal.xls will show up in the project explorer window.
Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top