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

Hi, I have what is probably a very basic userform problem but as I am new to
VBA, it is completely baffling me.

I have been creating some very short macros with userforms and up until a
little while ago, everything was working fine. All of sudden, though,
userforms are giving me a big problem. I can run the macros, but when it
comes time to display a userform, it takes me back into the VB editor and
won't let the macro continue. This is happening on things that previously
ran correctly. If I add "vbmodeless" after "UserForm1.Show" things seem to
run correctly but why all of a sudden do I have to do this?

Right now I am using Excel 2007.

Thanks in advance for any information.
  #2   Report Post  
Posted to microsoft.public.excel.programming
FJ FJ is offline
external usenet poster
 
Posts: 90
Default Userform problem

Hi, nevermind. Out of desperation I finally just shut the computer down and
restarted and everything is okay now. The program crashed on when I was
running another macro and I guess maybe it was holding on to the ghost of
another userform or something. I guess that's why I had to use "vbmodeless"
to get things to work.





"FJ" wrote:

Hi, I have what is probably a very basic userform problem but as I am new to
VBA, it is completely baffling me.

I have been creating some very short macros with userforms and up until a
little while ago, everything was working fine. All of sudden, though,
userforms are giving me a big problem. I can run the macros, but when it
comes time to display a userform, it takes me back into the VB editor and
won't let the macro continue. This is happening on things that previously
ran correctly. If I add "vbmodeless" after "UserForm1.Show" things seem to
run correctly but why all of a sudden do I have to do this?

Right now I am using Excel 2007.

Thanks in advance for any information.

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
Userform problem? law Excel Discussion (Misc queries) 0 December 3rd 07 07:54 PM
Userform problem Andrew B[_4_] Excel Programming 3 April 26th 06 01:28 AM
Userform problem racudd Excel Programming 2 April 14th 06 10:30 PM
Userform from a Userform Problem Adrian Excel Programming 1 October 12th 05 04:57 PM
Userform Problem Todd Huttenstine Excel Programming 2 February 15th 04 09:54 PM


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

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"