Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default Display a message whil eprocessing

Hi, I am trying to display a message while processing, such as " Please
wait....saving in progress...". Is it possible ? Anybody knows the
code? Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Display a message whil eprocessing

It depends on how you want this message presented.
A lot of people are satisfied with the Status Bar being updated.

eg.
Application.StatusBar = "Please wait....saving in progress..."

Then at the end of processing
Application.StatusBar = False


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"broogle" wrote in message
oups.com...
Hi, I am trying to display a message while processing, such as " Please
wait....saving in progress...". Is it possible ? Anybody knows the
code? Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default Display a message whil eprocessing

Is it possible to display the Message box ? Thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Display a message whil eprocessing

You might be interested in John Walkenbach's solution:
http://j-walk.com/ss/excel/tips/tip34.htm

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"broogle" wrote in message
ps.com...
Is it possible to display the Message box ? Thanks



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 235
Default Display a message whil eprocessing

Here is another example that is similar to the one the Rob noted:

http://www.pdbook.com/index.php/exce...ess_indicator/

----
Regards,
John Mansfield
http://www.pdbook.com

"broogle" wrote:

Is it possible to display the Message box ? Thanks




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Display a message whil eprocessing

Just to add, the built in Message Box will not work because it is Modal,
meaning that you code won't run while it is displayed.

You can simulate a message box with a useform. In xl2000 and later you can
show it as non-modal.

More than you need for this particular question, but for reference in case
you are unfamiliar:


http://support.microsoft.com/default...b;en-us;162257
OFF97: How to Show a "Now Processing" Dialog While Macro Runs

http://support.microsoft.com/default...b;en-us;829070
How to use Visual Basic for Applications (VBA) to change UserForms in Excel
2003, Excel
2002, and Excel 2000

http://www.microsoft.com/ExcelDev/Articles/sxs11pt1.htm
Lesson 11: Creating a Custom Form
Excerpted from Microsoft® Excel 97 Visual Basic® Step by Step.

http://support.microsoft.com/?id=168067
File Title: Microsoft(R) Visual Basic(R) for Applications Examples for
Controlling UserForms in Microsoft Excel 97
File Name: WE1163.EXE
File Size: 161742 bytes
File Date: 05/08/97
Keywords: kbfile
Description: This Application Note is an introduction to manipulating
UserForms in Microsoft Excel 97. It includes examples and Microsoft Visual
Basic for Applications macros that show you how to take advantage of the
capabilities of UserForms and use each of the ActiveX controls that are
available for UserForms

--
Regards,
Tom Ogilvy

"broogle" wrote in message
ps.com...
Is it possible to display the Message box ? Thanks



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
if, then display message puiuluipui Excel Discussion (Misc queries) 1 October 2nd 09 05:28 AM
Display a message Jarek Kujawa[_2_] Excel Worksheet Functions 0 June 3rd 08 02:44 PM
Display a message Ridhi Excel Worksheet Functions 4 June 3rd 08 02:43 PM
Error whil reading file Philipp Oberleitner[_2_] Excel Programming 3 July 9th 04 07:22 PM
How to display a message box Salman[_2_] Excel Programming 1 November 5th 03 05:01 PM


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