LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Status Bar Reset

I screwed up that copy/paste didn't I?

From the Help file: XL2000 (this does not work in XL97)

StatusBar Property Example

This example sets the status bar text to "Please be patient..." before it
opens the workbook Large.xls, and then it restores the default text.

oldStatusBar = Application.DisplayStatusBar
Application.DisplayStatusBar = True
Application.StatusBar = "Please be patient..."
Workbooks.Open filename:="LARGE.XLS"
Application.StatusBar = False
Application.DisplayStatusBar = oldStatusBarStatusBar


Mike F
"Mike Fogleman" wrote in message
...
From the Help file: XL2000 (this does not work in XL97)

StatusBar Property Example

This example sets the status bar text to "Please be patient..." before it
opens the workbook Large.xls, and then it restores the default text.

oldStatusBar = Application.DisplayStatusBar
Application.DisplayStatusBar = True
Application.StatusBar = "Please be patient..."
Workbooks.Open filename:="LARGE.XLS"
Application.StatusBar = False
Application.DisplayStatusBar = oldStatusBarStatusBar Property ExampleThis
example sets the status bar text to "Please be patient..." before it opens
the workbook Large.xls, and then it restores the default text.oldStatusBar
= Application.DisplayStatusBar
Application.DisplayStatusBar = True
Application.StatusBar = "Please be patient..."
Workbooks.Open filename:="LARGE.XLS"
Application.StatusBar = False
Application.DisplayStatusBar = oldStatusBarMike F"Karoo News"
wrote in message
...

I have forgotten how to do this and Help does not solve this problem.

All I need to know is how to Reset the statusbar to normal when a wokbook
closes or deactivates. (The open workbook has its own message when
activated)

Many Thanks
Neil






 
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
Tab Key reset DKSteph Excel Worksheet Functions 2 March 20th 09 07:20 PM
reuest formula for auto update status & status date PERANISH Excel Worksheet Functions 5 June 2nd 08 04:26 PM
reset to zero baldyheed Excel Worksheet Functions 3 October 2nd 05 03:30 AM
reset me cacique[_5_] Excel Programming 1 July 8th 05 02:54 AM
Need a msg box that displays time status or loading status havocdragon Excel Programming 2 April 2nd 05 05:29 PM


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