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

Saving a file with a built in Macro

Status
Not open for further replies.

medieval

Technical User
Jun 18, 2003
31
GB
Okay, I have created a VBA script which in the end
saves the worksheet.

But if I wanted to embed a VBA script within the worksheet before it is saved, how can I do this ?

Now I'm not exactly proficient with VBA so please keep it simple, oh and please tell me if you need more information from me.

Cheers.
medieval.
 
embed a VBA script within the worksheet before it is saved"....OK, yup...more information. when u save the worksheet the VBA IS saved with it...so what exactly do u mean?
 
Is it possible to saveas a workbook (or a worksheet), without saving the code and the controls?
 
Don't think so....why would you want to?

Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top