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

excel custom add ins

Status
Not open for further replies.

Shippwreck

Programmer
Joined
Oct 20, 2003
Messages
136
Location
GB
Hi,

I'm relativley new to writing vba code but am getting along quite well with a lot of help from the help files.

anyway, i have now completed the macro and want it to run behind a button on a custom toolbar. The reason for this is so that no matter what sheet you open you'll still be able to run the macro with a click of a button.

To do this i realised you need to make it an excel add-in, so i copied the code into a blank worksheet opened up the vba editor, added a module and pasted the code, i then saved the file as an excel add-in file in the default directory. I then opened up an excel file and clicked add-ins... and put a tick next to my add-in.

So all seems good, except that now i can't work out how to run the add-in. So that you know it isn't a function rather more of a small program that finds certain values in the current sheet copies the row that they are in and pastes them into a new workbook that the code created.

Please help as i'm tearing my hair out cause i just want to run it properly.

thanks in advance

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top