Macro help to position a freeze pane command

  • Thread starter Thread starter AlanN
  • Start date Start date
A

AlanN

I have a macro where it filters rows based on a user request. I want to lock
the title rows on the first visible row below row 2 on column J. The problem
I am having is how to instruction the freeze pane command to occur in column
J on the 3rd visible row down. Does anyone have any ideas?

Thanks, Alan
 
On a scale of 1 to 100, representing expertise in VBA, I'm about a 12. But,
I've always found it educational to record a macro while performing the
actual keystrokes, inspecting the resulting code, and then editing it
appropriately. Sometimes, it requires a book alongside the computer, but a
book should be considered a blessing, like a bottle of excellent wine, or a
beautiful woman.
 
Why not just freeze the panes using row 2?

It makes it prettier when the user does a Data|Filter|showall (or just filters
 

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

Similar Threads


Back
Top