stopscoll not working after writing VBA

simon j

New Member
Joined
Aug 13, 2009
Messages
14
HI I wolud just like to save my excel workbook with stopscroll. Following mr excel podcast this is what I have done.

I have enabled macro setting to " disable all macros with notification".
with work book open press alt f11. select workbook and it opens left code box?, select workbook at top which also says open at the top. input code.

Worksheets("Sheet7").ScrollArea = "A1:AU115"

then press alt Q to get back to excel page. But it just does not work? I cant see a save botton in the VBA page, Do I need to turn anything else on? in or outside the VBA:confused:

On the VBA page I can write the stopscoll in the bottom left properties sheet box which works but does not save.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
If you've put that code into the WorkBook Open event area, then it will run when the workbook is next opened.
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,848
Members
452,948
Latest member
UsmanAli786

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