This is the forum to discuss the Wrox book Excel 2000 VBA: Programmers Reference by John Green, Stephen Bullen, Felipe Martins, Brian Johnson; ISBN: 9780764544019
You are currently viewing the BOOK: Excel 2000/2002 VBA Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I am trying to add a custom menu that I will later turn into an Add In for our department. I copied the code and get an error in Excel VBA... : Runtime 91 Object Variable or With variable not set ---
This happens after the Dim lines... When you use this
Set cbWSMenubar = CommandBars("Worksheet Menu Bar") <---Right after
iHelpIndex = cbWSMenuBar.Controls("Help").Index