Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Userform.Hide not working

I have a routine which has a userform. I have a command
that sayss Userform.1.Hide which sometimes does not work
when I run the code. It works if I step through the
code. Why is this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Userform.Hide not working

probaby because of the way you have written your code. Stepping through
the code does not enforce the same behavior. Do you have screenupdating set
to false?

--
Regards,
Tom Ogilvy

"ExcelMonkey" wrote in message
...
I have a routine which has a userform. I have a command
that sayss Userform.1.Hide which sometimes does not work
when I run the code. It works if I step through the
code. Why is this?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Userform.Hide not working

Yes my screen updating is set to False. But I thought
this only afffected the spreadsheet. Does having it =
False freeze forms as well?


-----Original Message-----
probaby because of the way you have written your code.

Stepping through
the code does not enforce the same behavior. Do you have

screenupdating set
to false?

--
Regards,
Tom Ogilvy

"ExcelMonkey" wrote

in message
...
I have a routine which has a userform. I have a command
that sayss Userform.1.Hide which sometimes does not work
when I run the code. It works if I step through the
code. Why is this?



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Userform.Hide not working

With the screenupdating set to false and the userform showing, move the
userform around the screen manually. You should see a trail of old images -
so it impedes the update of the screen. I wouldn't exactly say it freezes
the userform although you might want to look at it that way.

--
Regards,
Tom Ogilvy

"ExcelMonkey" wrote in message
...
Yes my screen updating is set to False. But I thought
this only afffected the spreadsheet. Does having it =
False freeze forms as well?


-----Original Message-----
probaby because of the way you have written your code.

Stepping through
the code does not enforce the same behavior. Do you have

screenupdating set
to false?

--
Regards,
Tom Ogilvy

"ExcelMonkey" wrote

in message
...
I have a routine which has a userform. I have a command
that sayss Userform.1.Hide which sometimes does not work
when I run the code. It works if I step through the
code. Why is this?



.



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
Hide Userform smokiibear Excel Programming 4 January 18th 05 06:54 PM
Hide Tab in TabSheet on UserForm bforster1[_18_] Excel Programming 1 October 4th 04 07:26 PM
Hide all images on userform Jason Morin[_3_] Excel Programming 3 April 26th 04 09:20 PM
Userform.hide / show papou[_7_] Excel Programming 0 September 15th 03 03:12 PM
hide a textbox on a userform? Bill Lunney Excel Programming 2 July 31st 03 08:57 AM


All times are GMT +1. The time now is 10:20 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"