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!

Excel SaveAs Command 1

Status
Not open for further replies.

bearnone

Programmer
Jan 7, 2003
10
US
I wish to setup a button on a spreadsheet that will act as a saveas command. Moreover, I want the button to offer the user the ability to save the active worksheet to a location they dictate.

Thanks for any help.
 
Use the Control Toolbox (from the Visual Basic toolbar which can be activated from the View menu) and drop a command button on the sheet. Bring up the properties of the button and set the caption to "Save As". Double click the button and you'll be taken to the portion of code that acts as an OnClick event of the button. In here you could use :
Code:
Application.Dialogs(xlDialogSaveAs).Show
Clive [infinity]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top