473,404 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Freeze panes in excel

Dan
I have created an Excel worksheet using automation from a
VB.NET application. The worksheet is never made visible by
the VB program. It is created and filled with data from a
database and then some formatting is applied and the
worksheet is saved. I need to know how to freeze panes in
my VB program before the worksheet is saved so when the
saved worksheet is opened, the column headings in the
third row are not scrolled out of view when the user
scrolls the data.
Nov 12 '05 #1
1 9567
Dan,

This is in C# but you should be able to convert it.

YourExcelObject.ActiveWindow.FreezePanes = false;
YourWorksheetObject.get_Range(yourRange).Select();
YourExcelObject.ActiveWindow.FreezePanes = true;

"Dan" <vb***@onlinesupport.com> wrote in message
news:02****************************@phx.gbl...
I have created an Excel worksheet using automation from a
VB.NET application. The worksheet is never made visible by
the VB program. It is created and filled with data from a
database and then some formatting is applied and the
worksheet is saved. I need to know how to freeze panes in
my VB program before the worksheet is saved so when the
saved worksheet is opened, the column headings in the
third row are not scrolled out of view when the user
scrolls the data.

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Matt Kruse | last post by:
This is a common requirement - "freeze panes" in a table, so that some header rows and some columns on the left are frozen while the body content scrolls. This makes large tables more usable on...
1
by: Tom | last post by:
Does anyone know of a way to "freeze panes" in a contnuous form? Thanks! Tom
0
by: Nora | last post by:
Can you do a 'freeze panes' function in the data grid in VB.Net similar to what you can do in Excel? If so, how?
7
by: srinivas | last post by:
Hi, I am a asp programmer.I am displaying the db records in the html pages in a web page.I have 500 columns and 1000 rows in that html table.Here i am planning to implement the "MS-Excel Freeze...
4
by: Roger Withnell | last post by:
I would like to freeze column and row headings on a webpage, simulating freeze panes as in an Excel spreadsheet. Don't seem to be able to do it with Frames. Is there a way with Javascript...
5
by: jasperz01 | last post by:
Hi, Is it possible using Office Automation to freeze panes in Excel from Access VBA code? I've been trying some things but can't get it right... Jasper
0
by: Luqman | last post by:
How to freeze panes in crystal reports .net with ASP.Net, using Visual Studio 2005 ? Best Regards, Luqman
6
by: dmj07 | last post by:
Hi All, Like in Excel with freeze panes, I was wondering is it possible to freeze a HTML table at the top of a page so it is visible as you scroll down the page? Example table code: <table...
1
by: ronnysaid | last post by:
Hi all, I was wondering if there is a way to get the range from the frozen panes in excel using interop v.12?? Or is there a property associated with the range indicating its frozen or not?? ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.