Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 258
Default Add Message While Program is Working

How can I add a message " Please Wait Program Is Still Running " while the
program is running.

Thanks in advance.
Maperalia
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Add Message While Program is Working

Create a userform in the VBE with you message

Sub Main()
UserForm1.Show vbModeless
' current code or call current code
Unload Userform1
End Sub


--
Regards,
Tom Ogilvy


"maperalia" wrote in message
...
How can I add a message " Please Wait Program Is Still Running " while the
program is running.

Thanks in advance.
Maperalia



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default Add Message While Program is Working

I tend to use Application.Statusbar to notify users...
--
HTH...

Jim Thomlinson


"maperalia" wrote:

How can I add a message " Please Wait Program Is Still Running " while the
program is running.

Thanks in advance.
Maperalia

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 258
Default Add Message While Program is Working

Jim;
How do you use this application?

Maperalia

"Jim Thomlinson" wrote:

I tend to use Application.Statusbar to notify users...
--
HTH...

Jim Thomlinson


"maperalia" wrote:

How can I add a message " Please Wait Program Is Still Running " while the
program is running.

Thanks in advance.
Maperalia

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 258
Default Add Message While Program is Working

Tom;
Thanks for the code. I have applied it and I got blank message.
How can I write the information in the form?. Besides the title of the form
is Userform1 and I want to change it to "Message For You" instead.

Best regards.
Maperalia

"Tom Ogilvy" wrote:

Create a userform in the VBE with you message

Sub Main()
UserForm1.Show vbModeless
' current code or call current code
Unload Userform1
End Sub


--
Regards,
Tom Ogilvy


"maperalia" wrote in message
...
How can I add a message " Please Wait Program Is Still Running " while the
program is running.

Thanks in advance.
Maperalia






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Add Message While Program is Working

In the vbe, go in and select the Userform

In the properties of the userform, change the caption properties of the
userform to whatever you want it to be.

(If the properties window isn't visible in the VBE, hit F4 or go to
View=Properties in the menu)

You should see the control toolbox next to the userform

click the label, then click on the Userform and hold down the mouse button
while you drag down and to the right to size the label. Release the mouse.
Make sure the label is selected, then go to properties and place your
message in the captions property. Select the font property and make the
text look like you want it.

--
Regards,
Tom Ogilvy

"maperalia" wrote in message
...
Tom;
Thanks for the code. I have applied it and I got blank message.
How can I write the information in the form?. Besides the title of the

form
is Userform1 and I want to change it to "Message For You" instead.

Best regards.
Maperalia

"Tom Ogilvy" wrote:

Create a userform in the VBE with you message

Sub Main()
UserForm1.Show vbModeless
' current code or call current code
Unload Userform1
End Sub


--
Regards,
Tom Ogilvy


"maperalia" wrote in message
...
How can I add a message " Please Wait Program Is Still Running " while

the
program is running.

Thanks in advance.
Maperalia






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default Add Message While Program is Working

The status bar is located in the bottom right hand corner of the excel window
(usually says ready or dispays the calculation percent...)

Sub BigLongProcedure()
on error goto errorhandler
application.statusbar = "Processing data. Please Wait..."
'execute your code
Errorhandler:
application.statusbar = false
end sub

If you can easily determine the percentage of completion based on the number
of loops you can change the display to show the percentage of completion
similar to when a large calculation is pending...
--
HTH...

Jim Thomlinson


"maperalia" wrote:

Jim;
How do you use this application?

Maperalia

"Jim Thomlinson" wrote:

I tend to use Application.Statusbar to notify users...
--
HTH...

Jim Thomlinson


"maperalia" wrote:

How can I add a message " Please Wait Program Is Still Running " while the
program is running.

Thanks in advance.
Maperalia

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Add Message While Program is Working


Try this...

http://j-walk.com/ss/excel/tips/tip34.ht

--
JWM
-----------------------------------------------------------------------
JWM6's Profile: http://www.excelforum.com/member.php...fo&userid=3341
View this thread: http://www.excelforum.com/showthread.php?threadid=50549

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
How can I program a message box to open when a user opens and exc. Marcus Excel Programming 1 February 16th 05 04:12 AM
How to acknowledge a message box from VB program? Darwin Excel Programming 2 May 29th 04 02:15 PM
Program not working after upgrade Patrick I[_2_] Excel Programming 7 October 9th 03 11:47 PM
message box program flow losmac Excel Programming 0 August 21st 03 09:36 PM
message box program flow Chip Pearson Excel Programming 0 August 19th 03 09:54 PM


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