Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
RJH RJH is offline
external usenet poster
 
Posts: 44
Default Userform shadows...

I have a sheet (Excel 2003, XP Home) that uses several user forms.
The user forms appear at the start of the macro and as each one disappears
for the next a shadow is left.
Also if I drag the forms they leave a 'tail' of forms behind. The shadows
and tails disappear if OK or CANCEL
are clicked but why does this happen?

Thanks!

RJH


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default Userform shadows...

RJH,

You need to set Application.ScreenUpdating = True before you call the form.

hth,

Doug


"RJH" wrote in message
...
I have a sheet (Excel 2003, XP Home) that uses several user forms.
The user forms appear at the start of the macro and as each one disappears
for the next a shadow is left.
Also if I drag the forms they leave a 'tail' of forms behind. The shadows
and tails disappear if OK or CANCEL
are clicked but why does this happen?

Thanks!

RJH



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Userform shadows...

You need to turn on ScreenUpdating before showing the form.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"RJH" wrote in message
I have a sheet (Excel 2003, XP Home) that uses several user forms.
The user forms appear at the start of the macro and as each one disappears
for the next a shadow is left.
Also if I drag the forms they leave a 'tail' of forms behind. The shadows
and tails disappear if OK or CANCEL
are clicked but why does this happen?
Thanks!
RJH


  #4   Report Post  
Posted to microsoft.public.excel.programming
RJH RJH is offline
external usenet poster
 
Posts: 44
Default Userform shadows...

Thanks to both!
I shut down screen updating to hide the "screen bounce" during the macro's
execution.

RJH


"Jim Cone" wrote in message
...
You need to turn on ScreenUpdating before showing the form.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"RJH" wrote in message
I have a sheet (Excel 2003, XP Home) that uses several user forms.
The user forms appear at the start of the macro and as each one disappears
for the next a shadow is left.
Also if I drag the forms they leave a 'tail' of forms behind. The shadows
and tails disappear if OK or CANCEL
are clicked but why does this happen?
Thanks!
RJH




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Userform shadows...

You need to learn to program without selecting and activating. In most
cases these activities are not required. Look at most of the code in this
group for examples.

--
Regards,
Tom Ogilvy


"RJH" wrote in message
...
Thanks to both!
I shut down screen updating to hide the "screen bounce" during the macro's
execution.

RJH


"Jim Cone" wrote in message
...
You need to turn on ScreenUpdating before showing the form.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"RJH" wrote in message
I have a sheet (Excel 2003, XP Home) that uses several user forms.
The user forms appear at the start of the macro and as each one

disappears
for the next a shadow is left.
Also if I drag the forms they leave a 'tail' of forms behind. The

shadows
and tails disappear if OK or CANCEL
are clicked but why does this happen?
Thanks!
RJH








  #6   Report Post  
Posted to microsoft.public.excel.programming
RJH RJH is offline
external usenet poster
 
Posts: 44
Default Userform shadows...

Thanks for the tip Tom.
I'm still pretty green at this!

RJH

"Tom Ogilvy" wrote in message
...
You need to learn to program without selecting and activating. In most
cases these activities are not required. Look at most of the code in this
group for examples.

--
Regards,
Tom Ogilvy


"RJH" wrote in message
...
Thanks to both!
I shut down screen updating to hide the "screen bounce" during the
macro's
execution.

RJH


"Jim Cone" wrote in message
...
You need to turn on ScreenUpdating before showing the form.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"RJH" wrote in message
I have a sheet (Excel 2003, XP Home) that uses several user forms.
The user forms appear at the start of the macro and as each one

disappears
for the next a shadow is left.
Also if I drag the forms they leave a 'tail' of forms behind. The

shadows
and tails disappear if OK or CANCEL
are clicked but why does this happen?
Thanks!
RJH








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shadows and printing Jeppe Excel Discussion (Misc queries) 0 August 8th 07 02:32 PM
Shadows don't work right in Office 2007? Jaimie Excel Discussion (Misc queries) 1 May 1st 07 10:53 PM
Shadows of the Pivottable Field List while macro is running David P Excel Worksheet Functions 0 February 25th 05 07:11 PM
Shadows with forms Jos Vens Excel Programming 2 May 27th 04 10:03 PM
Userform shadows Geoff[_8_] Excel Programming 5 October 2nd 03 03:50 PM


All times are GMT +1. The time now is 11:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"