Excel Screen Size changes when I run some macros

mikemcbain

Board Regular
Joined
Nov 14, 2005
Messages
152
Office Version
  1. 365
Platform
  1. Windows
I am running Excel 365 and I have many spreadsheets most with macros. Some with many macros and VBA code.

Suddenly a few weeks ago a number of spreadsheets began acting peculuarly when I run one more macros in them.

They switch to a smaller screen size and the finished screen ends up smaller and I have to click to maximise it to full screen again.

I have tried re-saving them in the full screen position and they open up OK next time but then when I run a macro they revert smaller.

Just annoying but if anyone has had this same problem or can fix it I would be grateful.

Old Mike.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Can you visualize what you mean?
Maybe something in the code is changing the window size?
 
Upvote 0

bobsan42

When I began looking for examples I stumbled over a staisfactory work around!
When my macro's get to the point where they create a smaller screen size if I hit Esc and then stretch the screen back to full size and do a save then run it again all is normal again.
So thank you for your interest but I will not trouble you on this one and mark it solved.

With thanks

Old MIke.
 
Upvote 0
Solution

Forum statistics

Threads
1,212,933
Messages
6,110,751
Members
448,295
Latest member
Uzair Tahir Khan

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