Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, They both select all the sheets in a workbbok. Whats the difference in these two statements? Why Dim wkSht? Why Sheets or Worksheets? For Each Sheet In ActiveWorkbook.Sheets Sheet.~~~~~~~ or Dim wkSht As Worksheet For Each wkSht In ActiveWorkbook.Worksheets With wkSht Thank you Dave -- Piranha ------------------------------------------------------------------------ Piranha's Profile: http://www.excelforum.com/member.php...o&userid=20435 View this thread: http://www.excelforum.com/showthread...hreadid=374763 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combin / Merge Multiple Worksheets / sheets into one worksheet / sheet | Excel Worksheet Functions | |||
formula adding cells in worksheets when # of sheets in work book changes | Excel Discussion (Misc queries) | |||
how do i append 4 differnt worksheets in a new master work sheets | Excel Programming | |||
Difference between sheets and worksheets? | Excel Programming | |||
Sheets(array) method for printing grouped worksheets | Excel Programming |