Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Duplicated form at runtime


I have a combbox in one worksheet. When I change the item in the
combbox, I let a form show up. But at runtime, each time I try to move
the form, the form duplicates itself in my screen. Could someone what
happens and what plays this trick? Thanks.


--
lily
------------------------------------------------------------------------
lily's Profile: http://www.excelforum.com/member.php...o&userid=33150
View this thread: http://www.excelforum.com/showthread...hreadid=551877

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 290
Default Duplicated form at runtime

I know ive had this when I havent unloaded the previous form
properly....but I think it might help if you posted your code, someone
might spot the bug then.

Duncan

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Duplicated form at runtime

Is the userform really duplicated or is it just the image that's sticking
around.

Maybe
application.screenupdating = true
'move the form or show the form
application.screenupdating = false


Duncan wrote:

I know ive had this when I havent unloaded the previous form
properly....but I think it might help if you posted your code, someone
might spot the bug then.

Duncan


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Duplicated form at runtime

Does your form have an on click event that creates a copy of the form?
--
HTH...

Jim Thomlinson


"lily" wrote:


I have a combbox in one worksheet. When I change the item in the
combbox, I let a form show up. But at runtime, each time I try to move
the form, the form duplicates itself in my screen. Could someone what
happens and what plays this trick? Thanks.


--
lily
------------------------------------------------------------------------
lily's Profile: http://www.excelforum.com/member.php...o&userid=33150
View this thread: http://www.excelforum.com/showthread...hreadid=551877


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 290
Default Duplicated form at runtime

Dave;,

I think I was perhaps a bit quick to reply, as on reflection the screen
updating sounds like the obvious culprit. (I forgot about that)

Duncan

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
Textbox added to Form at runtime too small, can't control size andchange event won't trigger RCGUA Excel Worksheet Functions 2 December 10th 08 09:34 PM
Textbox added to Form at runtime too small, can't control size andchange event won't trigger RCGUA Excel Worksheet Functions 0 December 10th 08 07:48 PM
Duplicated cells Claudiotto Excel Worksheet Functions 1 September 9th 06 06:08 PM
Adding controls to a form at runtime Todd Huttenstine Excel Programming 0 March 23rd 06 03:29 PM
Duplicated rows cj21 Excel Discussion (Misc queries) 1 August 18th 05 04:14 PM


All times are GMT +1. The time now is 03:52 PM.

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

About Us

"It's about Microsoft Excel"