Hi,
afraid if it is a silly question.
One excel file has 5 sheets.(say filename f1)
sheet1 is the master, the 5 sheets will have similar content as sheet1 but in a different format.
sheet 1 has 5 buttons
create s2, create s3 and so on..
when the user clicks on say create s2, sheet 2 should be automatically save as a separate excel file in E:\FOLDER1\S2\f1s2.xls.
to do this, i have created a macro and assigned it to the buttons, but cannot figure out how to automate the file name as "f1s2.xls"
pl. advise.
afraid if it is a silly question.
One excel file has 5 sheets.(say filename f1)
sheet1 is the master, the 5 sheets will have similar content as sheet1 but in a different format.
sheet 1 has 5 buttons
create s2, create s3 and so on..
when the user clicks on say create s2, sheet 2 should be automatically save as a separate excel file in E:\FOLDER1\S2\f1s2.xls.
to do this, i have created a macro and assigned it to the buttons, but cannot figure out how to automate the file name as "f1s2.xls"
pl. advise.