Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Modeless form disappears on deleting sheet

Hi,

I am using a modeless form to control my application. Everything works
fine until I use the form to delete a sheet - as soon as this happens,
the form disappears and VBA stops running. Any ideas very much
appreciated. I am using excel 2002

many thanks

Walter
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 269
Default Modeless form disappears on deleting sheet

A modeless Userform will disappear immediately as soon as the code within
the Userform is finished running.
You have to re-organize your code to keep the Userform going until you
really want it to go away.

As I recall, my SDI/MDI example at
http://www.standards.com/OhMyWord/VBACodeSnippets.html might show how to do
this.
I have not looked at the code in some time, but it might help you.

--
http://www.standards.com/; Howard Kaikow's web site.
------------------------------------------------
"Walter Martin" wrote in
message om...
Hi,

I am using a modeless form to control my application. Everything works
fine until I use the form to delete a sheet - as soon as this happens,
the form disappears and VBA stops running. Any ideas very much
appreciated. I am using excel 2002

many thanks

Walter



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
Deleting Rows form Protected Sheet WildWill Excel Discussion (Misc queries) 1 June 24th 09 12:23 PM
bottom sheet tab disappears kaistix Excel Worksheet Functions 1 October 27th 06 07:14 PM
spread sheet disappears Jolene Excel Discussion (Misc queries) 0 March 23rd 06 08:13 PM
Modeless userform hngo New Users to Excel 2 July 13th 05 09:23 AM
Modeless form for user interaction Arne[_2_] Excel Programming 6 July 15th 03 02:22 PM


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