Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a probelem with some code I got from the book Excel 2000
Power Programming with VBA by John Walkenbach . The loan Amortization wizard code/utility is causing a problem .Its an xla file .It creates a new submenu on the tools menu every time I open it .I am unable to delete it from my tools menu. I tried running the following code to delete them it did not work. Sub DeleteIt() Dim DataMenu As CommandBarPopup Set DataMenu = CommandBars(1).FindControl(ID:=30007) On Error Resume Next DataMenu.Controls("Loan Amortization Wizard ").Delete End Sub tools menu sort of looks like this tools Spelling AutoCorrect |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Ravi
You have a space after the d Wizard "). -- Regards Ron de Bruin http://www.rondebruin.nl "ravi" wrote in message ... I have a probelem with some code I got from the book Excel 2000 Power Programming with VBA by John Walkenbach . The loan Amortization wizard code/utility is causing a problem .Its an xla file .It creates a new submenu on the tools menu every time I open it .I am unable to delete it from my tools menu. I tried running the following code to delete them it did not work. Sub DeleteIt() Dim DataMenu As CommandBarPopup Set DataMenu = CommandBars(1).FindControl(ID:=30007) On Error Resume Next DataMenu.Controls("Loan Amortization Wizard ").Delete End Sub tools menu sort of looks like this tools Spelling AutoCorrect . . . Loan Amortization Wizard Loan Amortization Wizard Loan Amortization Wizard Is there any way I could delete it ? Thanks, Ravi Urs |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thanks.
"Ron de Bruin" wrote: Hi Ravi You have a space after the d Wizard "). -- Regards Ron de Bruin http://www.rondebruin.nl "ravi" wrote in message ... I have a probelem with some code I got from the book Excel 2000 Power Programming with VBA by John Walkenbach . The loan Amortization wizard code/utility is causing a problem .Its an xla file .It creates a new submenu on the tools menu every time I open it .I am unable to delete it from my tools menu. I tried running the following code to delete them it did not work. Sub DeleteIt() Dim DataMenu As CommandBarPopup Set DataMenu = CommandBars(1).FindControl(ID:=30007) On Error Resume Next DataMenu.Controls("Loan Amortization Wizard ").Delete End Sub tools menu sort of looks like this tools Spelling AutoCorrect . . . Loan Amortization Wizard Loan Amortization Wizard Loan Amortization Wizard Is there any way I could delete it ? Thanks, Ravi Urs |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deleting Headers and Footers that are in the drop down Menu? | Excel Discussion (Misc queries) | |||
Deleting an otpion on the drop down menu on a pivot table | Excel Discussion (Misc queries) | |||
Deleting Menu | Excel Programming | |||
Deleting a Menu Bar | Excel Programming | |||
Problems deleting custom menu = double entries | Excel Programming |