Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Status Bar Message

After running a simple macro on a worksheet, the status bar reads
"table:1" then "table:2" and finally "table:3". I've never seen this
before. Why is excel displaying these messages?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,311
Default Status Bar Message

This is because there is some code in the macro that is telling the status
bar to display this.

Application.StatusBar = "table:1"

Most likely this was done so that the person running the macro will have
some sort of status indicating how far the code has run.

HTH,
Paul

--

wrote in message
...
After running a simple macro on a worksheet, the status bar reads
"table:1" then "table:2" and finally "table:3". I've never seen this
before. Why is excel displaying these messages?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 586
Default Status Bar Message

The macro must be changing the Application.StatusBar Property. Maybe the
code looks something like this

Sub YourCode()

Application.StatusBar = "table:1"

'some code

Applicaiton.StatusBar = "table:2"

'some more code

Application.StatusBar = False

End Sub

Make sure that you set the Status Bar = False at the end of the Procedure to
give control back to Excel like I did in the example. Else the Status Bar
will be stuck on "table:3"
--
Cheers,
Ryan


" wrote:

After running a simple macro on a worksheet, the status bar reads
"table:1" then "table:2" and finally "table:3". I've never seen this
before. Why is excel displaying these messages?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Status Bar Message

On Sep 3, 5:59*pm, RyanH wrote:
The macro must be changing the Application.StatusBar Property. *Maybe the
code looks something like this

Sub YourCode()

Application.StatusBar = "table:1"

* *'some code

Applicaiton.StatusBar = "table:2"

* *'some more code

Application.StatusBar = False

End Sub

Make sure that you set the Status Bar = False at the end of the Procedure to
give control back to Excel like I did in the example. *Else the Status Bar
will be stuck on "table:3"
--
Cheers,
Ryan



" wrote:
After running a simple macro on a worksheet, the status bar reads
"table:1" then "table:2" and finally "table:3". *I've never seen this
before. *Why is excel displaying these messages?


Thanks- Hide quoted text -


- Show quoted text -


There is nothing in the code that references the Status Bar.
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 586
Default Status Bar Message

Do you have the code to post? Is the code calling anyother procedures? Is
the macro opening other workbooks that may contain the code that is changing
the Status Bar? Is the macro in your personal workbook?

Some where in the project the Status Bar is being changed by code. It helps
if you post your code so when all can analysis it in the future.
--
Cheers,
Ryan


" wrote:

On Sep 3, 5:59 pm, RyanH wrote:
The macro must be changing the Application.StatusBar Property. Maybe the
code looks something like this

Sub YourCode()

Application.StatusBar = "table:1"

'some code

Applicaiton.StatusBar = "table:2"

'some more code

Application.StatusBar = False

End Sub

Make sure that you set the Status Bar = False at the end of the Procedure to
give control back to Excel like I did in the example. Else the Status Bar
will be stuck on "table:3"
--
Cheers,
Ryan



" wrote:
After running a simple macro on a worksheet, the status bar reads
"table:1" then "table:2" and finally "table:3". I've never seen this
before. Why is excel displaying these messages?


Thanks- Hide quoted text -


- Show quoted text -


There is nothing in the code that references the Status Bar.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Status Bar Message

On Sep 4, 8:31*am, RyanH wrote:
Do you have the code to post? *Is the code calling anyother procedures? *Is
the macro opening other workbooks that may contain the code that is changing
the Status Bar? *Is the macro in your personal workbook?

Some where in the project the Status Bar is being changed by code. *It helps
if you post your code so when all can analysis it in the future.
--
Cheers,
Ryan



" wrote:
On Sep 3, 5:59 pm, RyanH wrote:
The macro must be changing the Application.StatusBar Property. *Maybe the
code looks something like this


Sub YourCode()


Application.StatusBar = "table:1"


* *'some code


Applicaiton.StatusBar = "table:2"


* *'some more code


Application.StatusBar = False


End Sub


Make sure that you set the Status Bar = False at the end of the Procedure to
give control back to Excel like I did in the example. *Else the Status Bar
will be stuck on "table:3"
--
Cheers,
Ryan


" wrote:
After running a simple macro on a worksheet, the status bar reads
"table:1" then "table:2" and finally "table:3". *I've never seen this
before. *Why is excel displaying these messages?


Thanks- Hide quoted text -


- Show quoted text -


There is nothing in the code that references the Status Bar.- Hide quoted text -


- Show quoted text -


I want to post the code...What are the correct tags I need to put
around the code in order to post it correctly? Sorry to ask this
here. I've been searching everywhere and cannot find this answer!
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,311
Default Status Bar Message

To make sure the StatusBar code isn't in the current project, perform a
search in your VB code.

Press Alt+F11 to enter the VB Editor.
If your VBAProject Excel filename has a plus (+) next to it, click the plus
onces. If it had a minus (-) next to it, then click it twice. This will
ensure that this project is active.
Next, click your mouse cursor in the right-hand pane.
Press Ctrl+F. This should bring up the Find window.
Next to Find What, type "StatusBar".
Make sure "Current Project" is selected.
Click Find Next.

If the "StatusBar" code is in the current project, then it should be found.

As for posting the code, there may be a lot in several modules or other
places.

HTH,
Paul

--

wrote in message
...
On Sep 4, 8:31 am, RyanH wrote:
Do you have the code to post? Is the code calling anyother procedures? Is
the macro opening other workbooks that may contain the code that is
changing
the Status Bar? Is the macro in your personal workbook?

Some where in the project the Status Bar is being changed by code. It
helps
if you post your code so when all can analysis it in the future.
--
Cheers,
Ryan



" wrote:
On Sep 3, 5:59 pm, RyanH wrote:
The macro must be changing the Application.StatusBar Property. Maybe
the
code looks something like this


Sub YourCode()


Application.StatusBar = "table:1"


'some code


Applicaiton.StatusBar = "table:2"


'some more code


Application.StatusBar = False


End Sub


Make sure that you set the Status Bar = False at the end of the
Procedure to
give control back to Excel like I did in the example. Else the Status
Bar
will be stuck on "table:3"
--
Cheers,
Ryan


" wrote:
After running a simple macro on a worksheet, the status bar reads
"table:1" then "table:2" and finally "table:3". I've never seen this
before. Why is excel displaying these messages?


Thanks- Hide quoted text -


- Show quoted text -


There is nothing in the code that references the Status Bar.- Hide
quoted text -


- Show quoted text -


I want to post the code...What are the correct tags I need to put
around the code in order to post it correctly? Sorry to ask this
here. I've been searching everywhere and cannot find this answer!


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
calculate message in status bar neda5 Excel Discussion (Misc queries) 3 April 11th 06 06:07 PM
my message in Status bar Anita[_5_] Excel Programming 3 October 6th 04 02:46 PM
progress message in status bar Eric Excel Programming 1 July 27th 04 05:07 PM
Status Message Ray Batig Excel Programming 4 December 26th 03 03:25 AM
'Calculate' message at the status bar Charles Williams Excel Programming 0 September 12th 03 07:37 PM


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