I wonder if you might be able to help me. I have the following code segment:
ActiveWindow.Activate
With ActiveWindow
' Turn off FreezePanes first to remove Split
.FreezePanes = False
.Split = False
' Workaorund a problem to make sure Freeze occurs in the
correct cell!!
Range("A1").Select
Range(x).Select
.FreezePanes = vbTrue
End With
x contains something like "J:4". The problem mentioned is that for some
unknown reason, the freeze occurs at N760 or some such. The "760" is within
a coupe of rows or so of my spreadsheet.
If I trace the code, it seems to work.sometimes. I've traced it through the
Range(x).Select, with x="J4", and then the .FreezePanes goes screwy (a very
technical term!).
Your generous assistance would be greatly appreciated!
Rod
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.