Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
JT JT is offline
external usenet poster
 
Posts: 234
Default On Open Message

I have a workbook that performs a number of routines when the workbook is
opened (in the On Open event). This can take a few seconds and is longer
than just opening a new workbook.

I would like to display a message while these routines are running (so the
user doesn't do anything with the workbook) and then automatically close the
message when the routines have finished.

Is this even possible? Are there ways to display a msgbox or similar item
without any buttons for the user to push.

Thanks. Any suggestions are greatly appreciated....

--
JT
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default On Open Message

1. open a textbox or make a cell comment visible
2. do your thing
3 close the textbox or make the cell comment not visible.
--
Gary''s Student
gsnu200708


"JT" wrote:

I have a workbook that performs a number of routines when the workbook is
opened (in the On Open event). This can take a few seconds and is longer
than just opening a new workbook.

I would like to display a message while these routines are running (so the
user doesn't do anything with the workbook) and then automatically close the
message when the routines have finished.

Is this even possible? Are there ways to display a msgbox or similar item
without any buttons for the user to push.

Thanks. Any suggestions are greatly appreciated....

--
JT

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default On Open Message

On Mar 2, 9:20 am, JT wrote:
I have a workbook that performs a number of routines when the workbook is
opened (in the On Open event). This can take a few seconds and is longer
than just opening a new workbook.

I would like to display a message while these routines are running (so the
user doesn't do anything with the workbook) and then automatically close the
message when the routines have finished.

Is this even possible? Are there ways to display a msgbox or similar item
without any buttons for the user to push.

Thanks. Any suggestions are greatly appreciated....

--
JT


In your workbook open event, you could show a userform with something
like "Workbook is loading..." on it.
load your other events into the code for the form. The hide the form
again when it's all done.

In your ThisWorkbook module:

Private Sub Workbook_Open()
UserForm1.Show
End Sub



This is the code you'll need for the form:

Private Sub UserForm_Activate()
Me.Repaint

'Your opening code goes here

Unload Me
End Sub

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
auto open message pcor New Users to Excel 8 September 19th 07 01:25 PM
Create a message to 'pop open' JoeP Excel Discussion (Misc queries) 2 April 21st 07 12:02 AM
linked PDF will not open "can not open specified file" is message DaveKC Excel Discussion (Misc queries) 0 February 19th 07 07:38 PM
Open or Show a Message Box on open... Chris E.[_2_] Excel Programming 2 August 27th 04 09:18 PM
Message Open Box RC Excel Programming 3 August 25th 04 01:58 PM


All times are GMT +1. The time now is 08:18 AM.

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"