ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   "Frozen columns" (https://www.excelbanter.com/excel-programming/366417-frozen-columns.html)

Tim Lypes

"Frozen columns"
 
Hello,

I do not know the right ms teminologie for that. Maybe you know a column
that is always visible inside a sheet even if the user scroll to the right
site of the sheet. I want to set the "frozen" column programmatically with
vb 2005 and office interop.
I hope you know what I mean



Stefi

"Frozen columns"
 
Hi Tim,

If you want to freeze column A, then

Range("B1").Select
ActiveWindow.FreezePanes = True

If you select C1, then columns A and B will be frozen, etc.

Regards,
Stefi

€˛Tim Lypes€¯ ezt Ć*rta:

Hello,

I do not know the right ms teminologie for that. Maybe you know a column
that is always visible inside a sheet even if the user scroll to the right
site of the sheet. I want to set the "frozen" column programmatically with
vb 2005 and office interop.
I hope you know what I mean




Charlie

"Frozen columns"
 
Another useful command to move the cursor to the frozen corner is

Cells(ActiveWindow.ActivePane.ScrollRow,
ActiveWindow.ActivePane.ScrollColumn).Select

:)

"Stefi" wrote:

Hi Tim,

If you want to freeze column A, then

Range("B1").Select
ActiveWindow.FreezePanes = True

If you select C1, then columns A and B will be frozen, etc.

Regards,
Stefi

€˛Tim Lypes€¯ ezt Ć*rta:

Hello,

I do not know the right ms teminologie for that. Maybe you know a column
that is always visible inside a sheet even if the user scroll to the right
site of the sheet. I want to set the "frozen" column programmatically with
vb 2005 and office interop.
I hope you know what I mean





All times are GMT +1. The time now is 12:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com