Re: VBA scroll area for odd sheets
Hi Peter,
I'm having a little difficulty in applying this code that you last posted.
WRT, the actual tab/sheet that I want to omit from the code lock is actually Sheet(4), where its physical location in workbook lies in the 2ND tab being part of the EVEN
when applied across the workbook.
I know this because when I run the code, it provides a scroll lock on Sheet(4)
of which I've named "TOTALS"
for the ODD lock of the
code, where I'd originally thought it was being applied over the EVEN tabs of
.
When I do run your code, I've noticed that it doesn't seem to omit any sheets from the
as far as I can tell. Where, I did check all of the sheets/tabs that I do have on the workbook.(?)
I'd thought that if I changed what you provided that I'd get it to work; for example:
Code:
For i = 2 To Sheets.Count Step 2
If i <> 2 Then Sheets(i).ScrollArea = "A1:L80"
Next i
But it is not working and I need your help.
Any suggestions??
Thank you!
Pinaceous
PS. Just out of curiosity, why doesn't this part of the code require an
statement?