#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Menu Name

Is there anyway of using a macro to change the Microsoft Excel Menu, ie it
dispays Microsoft Excel plus the file name. I am wanting to add something in
before the file name.

Is this possible?

Jas
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Menu Name

Try

Application.Caption = "Hi there this is Excel and the file name is "

To restore

Application.Caption = ""




--
Regards Ron de Bruin
http://www.rondebruin.nl



"Ashman" wrote in message ...
Is there anyway of using a macro to change the Microsoft Excel Menu, ie it
dispays Microsoft Excel plus the file name. I am wanting to add something in
before the file name.

Is this possible?

Jas



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default Menu Name

"Ashman" wrote in message
...
Is there anyway of using a macro to change the Microsoft Excel Menu, ie it
dispays Microsoft Excel plus the file name. I am wanting to add something
in
before the file name.
Is this possible?


Hi Jas,

I think you are referring to the caption - the text that appears in the
blue bar at the very top of the Excel window? If so, there are two parts to
this caption:

Application.Caption = "Something Else"

changes "Microsoft Excel" to "Something Else"

ActiveWindow.Caption = "Something Else"

changes the file name to "Something Else". You can use these two separately
or together. To restore the captions to their default values, use the
following:

Application.Caption = Empty
ActiveWindow.Caption = False

I know it doesn't make much sense, but that's how it works.

--
Rob Bovey, Excel MVP
Application Professionals
http://www.appspro.com/

* Take your Excel development skills to the next level.
* Professional Excel Development
http://www.appspro.com/Books/Books.htm


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Menu Name

Many thanks works perfectly.

Jas

"Ron de Bruin" wrote:

Try

Application.Caption = "Hi there this is Excel and the file name is "

To restore

Application.Caption = ""




--
Regards Ron de Bruin
http://www.rondebruin.nl



"Ashman" wrote in message ...
Is there anyway of using a macro to change the Microsoft Excel Menu, ie it
dispays Microsoft Excel plus the file name. I am wanting to add something in
before the file name.

Is this possible?

Jas




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
Drop dwn menu. Formula to count selection frm menu in anoth cell? ggoldber Excel Worksheet Functions 1 June 4th 08 02:21 PM
filter dropdown menu so 2nd drop menu is customized menugal Excel Worksheet Functions 1 September 4th 07 05:25 PM
Create Dropdown menu without using the Validation on the Data Menu lostinformulas Excel Worksheet Functions 0 July 13th 06 08:47 PM
Menu items added with menu item editor in older versions Michael Hoffmann Excel Discussion (Misc queries) 2 January 7th 05 01:40 PM
Adding a menu item right click menu when clicking on a single. Andoni[_28_] Excel Programming 0 September 2nd 04 10:23 PM


All times are GMT +1. The time now is 04:42 PM.

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"