Home |
Search |
Today's Posts |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Programmatically addressing worksheets - painfully stupid question
"Chip Pearson" wrote in message ... Chris, You can do something like Dim WS As Worksheet For Each WS In Worksheets WS.Cells..... Next WS or Dim N As Long Dim WS As Worksheet For N = 1 To 53 Set WS = Worksheets("Week" & Format(N,"#0") WS.Cells.... Next N -- Cordially, Chip Pearson Microsoft MVP - Excel www.cpearson.com Chip, Many thanks. I can never get my head around collections of objects - pity they seem so useful! Thanks again CS |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
big stupid question | Excel Discussion (Misc queries) | |||
Stupid Question | Excel Discussion (Misc queries) | |||
Probably a Stupid Question | Excel Discussion (Misc queries) | |||
stupid question | New Users to Excel | |||
Stupid Question | Excel Worksheet Functions |