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

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

GlennUK

Well-known Member
Joined
Jul 8, 2002
Messages
11,547
If you've put that code into the WorkBook Open event area, then it will run when the workbook is next opened.
 

Forum statistics

Threads
1,141,018
Messages
5,703,757
Members
421,314
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