Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
james:
that may work. i will give it a try later. -- Gary wrote in message oups.com... Hi Gary, Ah, so you are trying to combine the sheets into a summary? A different approach could be to set the summary sheet, this will work as long as you don't rename the summary sheet. Dim xsheet As Worksheet Dim Sumry As Worksheet Set Sumry = ThisWorkbook.Sheets("Summary") Application.ScreenUpdating = False For Each xsheet In ThisWorkbook.Worksheets If xsheet.Name = "Summary" Then GoTo Nextxsheet 'code for copying info Sumry.Select 'paste results xsheet.Select 'go back for other results 'etc. Nextxsheet: Next xsheet This will then loop through all sheets except the summary sheet. Are we getting there? Cheers James |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? | Excel Worksheet Functions | |||
Combining workbooks with some variable field names | Excel Discussion (Misc queries) | |||
Run-time error '91': "Object variable or With block variable not set | Excel Programming | |||
Cells.Find error Object variable or With block variable not set | Excel Programming | |||
Combining variable names | Excel Programming |