Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
A navigation/scrolling/display question...
In a worksheet, I used Window | Freeze Panes at cell B6 to freeze the headings (the first 5 rows and 1 column). Normally, column B would be displayed after column A. If you scroll to the right a ways, thre won't be room for column B, so column C will appears next to column A. If you keep scrolling, column D will be after column A. And so on. How can I tell Excel which column I want to be displayed next to column A (using VBA)? I thought I could just select a cell WAY to the right, then select a cell in the column I wanted to be displayed right after column A, but this doesn't work. For example, if I select cell Z6, then cell F6, column B (not F) is displayed right after column A. (For background, I'm testing my code using breakpoints, and the VBE always obscures part of the worksheet, sometimes the part that is being worked on, and so I keep having to Alt-Tab, scroll, then Alt-Tab back, which after a while is starting to become a waste of time.) |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ActiveWindow.Scollcolumn = 4
-- Regards, Tom Ogilvy wrote in message oups.com... A navigation/scrolling/display question... In a worksheet, I used Window | Freeze Panes at cell B6 to freeze the headings (the first 5 rows and 1 column). Normally, column B would be displayed after column A. If you scroll to the right a ways, thre won't be room for column B, so column C will appears next to column A. If you keep scrolling, column D will be after column A. And so on. How can I tell Excel which column I want to be displayed next to column A (using VBA)? I thought I could just select a cell WAY to the right, then select a cell in the column I wanted to be displayed right after column A, but this doesn't work. For example, if I select cell Z6, then cell F6, column B (not F) is displayed right after column A. (For background, I'm testing my code using breakpoints, and the VBE always obscures part of the worksheet, sometimes the part that is being worked on, and so I keep having to Alt-Tab, scroll, then Alt-Tab back, which after a while is starting to become a waste of time.) |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ah, so simple. It must be great to be a guru. Thanks.
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Print Frozen Panes? | Excel Discussion (Misc queries) | |||
frozen panes | Excel Discussion (Misc queries) | |||
Third left part of the screen is frozen | Excel Discussion (Misc queries) | |||
How do I Hide frozen panes when printing? | Excel Worksheet Functions | |||
How do i use multiple splits or frozen panes? | Excel Discussion (Misc queries) |