• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

freezpane set macro

Hi Kalpesh ,


Put the following code in the ThisWorkBook section of your VBA Project :

[pre]
Code:
Public Sub freeze_panes()
Worksheets("Sheet1").Activate    ' Change this to whatever you want
ActiveWindow.Split = False
Range("M3").Select               ' Change this to whatever you want
ActiveWindow.FreezePanes = True
End Sub
[/pre]

Narayan
 
Back
Top