ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Moving di (https://www.excelbanter.com/excel-programming/389129-moving-di.html)

michael.beckinsale

Moving di
 
Hi All,

Quite frequently l find that when l use vba to launch a custom form or
built in dialog box such as save / saveas and then move it from the
centre of the screen it leaves a 'gray trail' behind it.

Does anybody know whats causing it and how to avoid it?

TIA

Regards

Michael Beckinsale


Jim Thomlinson

Moving di
 
As a guess your screen updating is off... Try turning it on just before you
display your form. Note that this meand you don't want to have a bunch of
sheet and cell selects in your code.
--
HTH...

Jim Thomlinson


"michael.beckinsale" wrote:

Hi All,

Quite frequently l find that when l use vba to launch a custom form or
built in dialog box such as save / saveas and then move it from the
centre of the screen it leaves a 'gray trail' behind it.

Does anybody know whats causing it and how to avoid it?

TIA

Regards

Michael Beckinsale



michael.beckinsale

Moving di
 
On 10 May, 16:11, Jim Thomlinson <James_Thomlin...@owfg-Re-Move-
This-.com wrote:
As a guess your screen updating is off... Try turning it on just before you
display your form. Note that this meand you don't want to have a bunch of
sheet and cell selects in your code.
--
HTH...

Jim Thomlinson



"michael.beckinsale" wrote:
Hi All,


Quite frequently l find that when l use vba to launch a custom form or
built in dialog box such as save / saveas and then move it from the
centre of the screen it leaves a 'gray trail' behind it.


Does anybody know whats causing it and how to avoid it?


TIA


Regards


Michael Beckinsale- Hide quoted text -


- Show quoted text -


Hi Jim,

Many thanks, it really was that simple!

It always amazes me how one tends to look for the complicated solution
when the answer is staring you in the face.

Regards

Michael beckinsale



All times are GMT +1. The time now is 07:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com