Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy and Paste all workbooks of a file
Hello there, a simple question, or so I think for everybody
I want to ensure I copy and paste every single workbooks of my file when activating the macro, and not write a macro specifying some workbooks, what the code should look like please? many thanks to any help Dan |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy and Paste all workbooks of a file
|
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy and Paste all workbooks of a file
assuming spreadsheet means an individual worksheet and spreadsheets means all
worksheets, then perhaps to run macro1 on all sheets (where macro1 is designed to work on the activesheet): sub RunMacro1() Dim sh as worksheet for each sh in ActiveWorkbook.Worksheets sh.Active macro1 Next end sub -- Regards, Tom Ogilvy " wrote: wrote: Hello there, a simple question, or so I think for everybody I want to ensure I copy and paste every single workbooks of my file when activating the macro, and not write a macro specifying some workbooks, what the code should look like please? many thanks to any help Dan huuummm I mean every sheet of my spreadsheet... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can't Copy and Paste or Paste Special between Excel Workbooks | Excel Discussion (Misc queries) | |||
Can't Copy and Paste between Workbooks | Excel Discussion (Misc queries) | |||
copy multiple worksheets of a workbook, and paste onto a Word document ( either create new doc file or paste onto an existing file.) I need this done by VBA, Excel Macro | Excel Programming | |||
Copy and paste between workbooks? | Excel Programming | |||
Copy and Paste Between Workbooks | Excel Programming |