Programmatic cell selection w/o resetting frozen panes view

DenisBallant

New Member
Joined
Aug 31, 2006
Messages
6
Could anyone tell me whether it's possible to programmatically select a cell without resetting the positions of the frozen panes.

For instance I have frozen panes both horizontally and vertically (A-E, F-) and the second vertical pane is currently showing columns J-L. If I select any cell in the first vertical pane programmatically, the second vertical pane is reset and now shows columns F-H. I would like that the second pane keeps showing columns J-L. Only if a cell in 2nd vertical pane is selected which is currently not visible, selection should make it visible on the screen.

Any help appreciated.

Denis
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

GlennUK

Well-known Member
Joined
Jul 8, 2002
Messages
11,547
What is the eventual aim of your programming exactly? That is, what happens after you select the cell? Most actions done programmatically do not require that selections be made at all.
 

Forum statistics

Threads
1,141,016
Messages
5,703,751
Members
421,312
Latest member
Mooncake1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top