Excel Screen Size changes when I run some macros

mikemcbain

Board Regular
Joined
Nov 14, 2005
Messages
142
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

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

bobsan42

Well-known Member
Joined
Jul 14, 2010
Messages
1,872
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
Platform
  1. Windows
Can you visualize what you mean?
Maybe something in the code is changing the window size?
 

mikemcbain

Board Regular
Joined
Nov 14, 2005
Messages
142
Office Version
  1. 365
Platform
  1. Windows

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.
 
Solution

Forum statistics

Threads
1,185,985
Messages
5,955,152
Members
438,184
Latest member
elea_acero_

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