LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default Looping with Hidden and Protected Sheets/Ranges

I know I can hide sheets in excel. When I am looping through sheets using a
For Next loop in VBA (using Sheets collection) will I ever run into issues
with sheets that are hidden and or protected? That is, could I ever be in a
situation where my For Next loop would fail due to hidden/protected sheets?

I guess the same question extends to cell ranges. If I am looping through
sheets and then cell ranges (For Each cell in .UsedRange) and lets say I am
assessing formulas/data/text, will hidden row/columns and or protected cells
cause errors in these sub loops?

Thanks
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LOOPING multiple ranges Jase Excel Discussion (Misc queries) 1 April 7th 08 06:21 PM
protected sheets and hidden rows BorisS Excel Discussion (Misc queries) 1 February 1st 06 11:38 AM
Any easier way than looping on ranges Billabong Excel Programming 1 August 27th 04 10:32 AM
looping through ranges: how to speed up? fra Excel Programming 8 June 29th 04 03:38 AM
Looping through named ranges Tim[_38_] Excel Programming 1 May 10th 04 07:20 PM


All times are GMT +1. The time now is 12:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"