fpskidmark
Board Regular
- Joined
- Sep 11, 2009
- Messages
- 139
Hi All,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o></o>
I'm stump on problem and I need some advice,<o></o>
The code below has been working for a while now, but today, for some odd reason, it's not working.<o></o>
I have spreadsheet that has 16 sheets with range (S1) populated, meaning all 16 sheets should be populated, but for some reason only 14 sheet are displayed. The last 2 sheets "15", "16" were deleted.<o></o>
Note: Both deleted sheets had a value on range (S1).<o></o>
Please help!
<o></o>
Thanks,
FP
<o></o>
I'm stump on problem and I need some advice,<o></o>
The code below has been working for a while now, but today, for some odd reason, it's not working.<o></o>
I have spreadsheet that has 16 sheets with range (S1) populated, meaning all 16 sheets should be populated, but for some reason only 14 sheet are displayed. The last 2 sheets "15", "16" were deleted.<o></o>
Note: Both deleted sheets had a value on range (S1).<o></o>
Please help!
<o></o>
PHP:
Dim ws As Worksheet
Application.DisplayAlerts = False
For Each ws In ActiveWorkbook.Worksheets
If ws.Name <> "Summary" And ws.Range("S1") = "" Then ws.Delete
Next ws
Application.DisplayAlerts = True
Thanks,
FP