Freeze panes

elgringo56

Well-known Member
Joined
Apr 15, 2002
Messages
869
I am trying, under macro control, to freeze and unfreeze the entire viewable area of the screen so that a message panal can appear while I move around in the sheet without the user seeing the movement. I cant figgure out how. Normal freeze pain requires the selected pointer cell be in the viewable area.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
if you are trying to not show them what is happening why dont you do
application.screenupdating=false
at the beginning of the code

and

application.screenupdating=true
at the end of the code


this will stop the screen from moving, and speeds up the macro
 
Upvote 0
or just
application.screenupdating = false

at the start and it automaticaly updates at the end of the macro
 
Upvote 0

Forum statistics

Threads
1,214,430
Messages
6,119,453
Members
448,898
Latest member
drewmorgan128

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
Back
Top