how to save an excel sheet using button
how to save an excel sheet using button
Use the macro recorder. Turn it on by clicking on the icon next to the READY icon at the bottom left of the excel window. This will record every action you do. When you have saved the file, "stop" the recorder.
Then create a shape where you want the button to be, right-click on that shape and assign the macro to it
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
is there any code to save the sheet1 only. i want a save button to save the sheet 1 only not whole workbook
unless some-one can give you better code for this, 1 option would be, while still in record mode, to delete all the other sheets, and then SAVE AS with a different name. That way, your original file remains untouched, and you end up saving just the sheet you want...under a different name
Hi, semeer,
Right click the worksheet tab, move/copy, check for copy, enter new workbook in Combobox, record that action, work on the macro code as the code will be "hard coded" or ask for modification here.Please Login or Register to view this content.
Ciao,
Holger
Use Code-Tags for showing your code: [code] Your Code here [/code]
Please mark your question Solved if there has been offered a solution that works fine for you
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks