Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Freezing a row

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Freezing a row

Have you tried the macro recorder? A good way to learn

--
Don Guillett
SalesAid Software

"Guy Cohen" wrote in message
...
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




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Freezing a row

No I have not
I am a newbie :)
BTW- If possible please teach me how to do it from VB ;)
Guy

þþ"Don Guillett" ëúá áäåãòä
...
Have you tried the macro recorder? A good way to learn

--
Don Guillett
SalesAid Software

"Guy Cohen" wrote in message
...
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






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Freezing a row

vb or Excel VBA would be the same

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

--
Regards,
Tom Ogilvy



Guy Cohen wrote in message
...
No I have not
I am a newbie :)
BTW- If possible please teach me how to do it from VB ;)
Guy

þþ"Don Guillett" ëúá áäåãòä
...
Have you tried the macro recorder? A good way to learn

--
Don Guillett
SalesAid Software

"Guy Cohen" wrote in message
...
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








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Freezing Jan Excel Discussion (Misc queries) 0 October 6th 09 10:26 PM
Freezing a row Heidi Excel Worksheet Functions 3 July 8th 09 11:51 PM
Filter Freezing legs Excel Worksheet Functions 2 October 20th 08 04:52 AM
Freezing Old_skills_lost[_2_] New Users to Excel 5 January 16th 08 01:05 AM
freezing a row Seren Setting up and Configuration of Excel 2 November 30th 05 02:35 PM


All times are GMT +1. The time now is 09:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"