Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Filling menu items

I was wondering if it is possible to fill menu items in Excel based on
certain condtions using VB. For example, I need a macro to go into the

Properties menu item under the File menu and insert a string into the
Title box (in Excel). Is this possible? And if so, how would one go
about this? Thanks for the help

Tom

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Filling menu items

ActiveWorkbook.BuiltinDocumentProperties("Title"). Value = "My Title"


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"tom" wrote in message
ups.com...
I was wondering if it is possible to fill menu items in Excel based on
certain condtions using VB. For example, I need a macro to go into the

Properties menu item under the File menu and insert a string into the
Title box (in Excel). Is this possible? And if so, how would one go
about this? Thanks for the help

Tom



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default Filling menu items

Actually, navigating the menu structure to do this would be a difficult
an unreliable method. You're better to find the object that you need to
modify. In this case it is:

ThisWorkbook.BuiltinDocumentProperties("Title") = "My Custom Title"

HTH,

Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca

tom wrote:
I was wondering if it is possible to fill menu items in Excel based on
certain condtions using VB. For example, I need a macro to go into the

Properties menu item under the File menu and insert a string into the
Title box (in Excel). Is this possible? And if so, how would one go
about this? Thanks for the help

Tom

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Filling menu items

Thanks a lot for your help.

Tom

Ken Puls wrote:
Actually, navigating the menu structure to do this would be a difficult
an unreliable method. You're better to find the object that you need to
modify. In this case it is:

ThisWorkbook.BuiltinDocumentProperties("Title") = "My Custom Title"

HTH,

Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca

tom wrote:
I was wondering if it is possible to fill menu items in Excel based on
certain condtions using VB. For example, I need a macro to go into the

Properties menu item under the File menu and insert a string into the
Title box (in Excel). Is this possible? And if so, how would one go
about this? Thanks for the help

Tom


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Filling menu items

Thanks a lot for your help

Tom

Bob Phillips wrote:
ActiveWorkbook.BuiltinDocumentProperties("Title"). Value = "My Title"


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"tom" wrote in message
ups.com...
I was wondering if it is possible to fill menu items in Excel based on
certain condtions using VB. For example, I need a macro to go into the

Properties menu item under the File menu and insert a string into the
Title box (in Excel). Is this possible? And if so, how would one go
about this? Thanks for the help

Tom


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
Menu items Pietro Excel Discussion (Misc queries) 2 March 1st 07 10:41 AM
Add items to context menu Fred Jacobowitz Excel Worksheet Functions 1 April 22nd 06 10:29 PM
New menu items Daniel Bonallack Excel Programming 2 November 2nd 05 07:59 PM
Menu items added with menu item editor in older versions Michael Hoffmann Excel Discussion (Misc queries) 2 January 7th 05 01:40 PM
Sub Menu Items pauluk[_72_] Excel Programming 1 July 27th 04 12:23 PM


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