Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Menu items | Excel Discussion (Misc queries) | |||
Add items to context menu | Excel Worksheet Functions | |||
New menu items | Excel Programming | |||
Menu items added with menu item editor in older versions | Excel Discussion (Misc queries) | |||
Sub Menu Items | Excel Programming |