Freezing a row

  • Thread starter Thread starter Guy Cohen
  • Start date Start date
G

Guy Cohen

Hi all.
I am using VB6 to generate an EXCEL report.
I would like to set "Window->Freeze panes" to row number 1 by code.
How do I do that?
TIA
Guy
 
No I have not
I am a newbie :)
BTW- If possible please teach me how to do it from VB ;)
Guy
 
vb or Excel VBA would be the same

Activesheet.rows(2).Select
ActiveWindow.FreezePanes=True
 

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