![]() |
Bankup of worksheet
Thanks you Mike for reply it's working fine.
Thanks Again. One more thing i am useing excel2003 is there any good book for excel2007 or any PDF file from net. Thanks "Mike H" wrote: Hi, Try this. Note I used XLSX as the file extension because I'm using e2007 so change to the apppropriate one for you Sub MyBackup() Application.DisplayAlerts = False ActiveWorkbook.Sheets("Data").Copy ActiveWorkbook.SaveAs Filename:="C:\MyBackup.xlsx" ActiveWorkbook.Close Application.DisplayAlerts = True End Sub -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "****al shah" wrote: Hi I have I workbook I that I have more than 10 worksheet I want to take a backup of only 1 worksheet which name is €śData€ť that is to store in other folder & when I take backup next time it should over write lake backup any help. Thanks |
All times are GMT +1. The time now is 07:54 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com