change one sheet, and automatically the others

D

Dummie

As follow up for my freezing question. Is it possible to submit this change
(freezing pane) to all worksheets at the same time without changing the rest
of the content of the sheets (it's the same cell)
Sorry if this is a repeated question(, I couldn't find the answer anywhere
else).
Cheers,
Ruth
 
G

Gord Dibben

Dummie

Freezing Panes is a function of the Active Window.

Would require VBA code to Freeze all sheets.

Sub Freeze_Panes()
Dim ws As Worksheet
Application.ScreenUpdating = False
For Each ws In ActiveWorkbook.Worksheets
ws.Activate
Range("B2").Select
ActiveWindow.FreezePanes = True
Next ws
Application.ScreenUpdating = True
End Sub

Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top