LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Error 9 when launching add-in userform from Ribbon in Excel 2007

I spent the entire day trying to work around an issue I'm having with
launching an userform that is built into an add-in installed with its
own ribbon in Excel 2007. One of my buttons in the Ribbon calls a
simple subroutine in the Add-in as follows....

Sub SCAD()
Load SCADOptions: SCADOptions.Show
End Sub

When I click the button on my Add-in's ribbon in Excel 2007, I
immediatley get an "Error 9." After I click debug I get an 'out of
range error.'

Meanwhile, I can launch via Ribbon button any of my normal sub
routines out of the Add-in's modules. Is there some reason why I
cannot launch userforms via a sub routine from buttons in my custom
ribbon, but still I can launch any of my other subroutines from a
button on my custom ribbon?

Any help you can provide will be appreciated.

Thanks,
Matt
 
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
Excel 2007 Ribbon Annette[_3_] Excel Discussion (Misc queries) 4 August 25th 09 02:39 PM
Launching A Worksheet in Excel 2007 JCS Excel Discussion (Misc queries) 3 December 1st 08 04:19 PM
How can I add the OneNote 2007 icon to the ribbon in Excel 2007? Todd Excel Discussion (Misc queries) 6 February 14th 08 11:22 PM
Launching PowerPoint Viewer from EXCEL 2007 with vb Mr BT[_2_] Excel Worksheet Functions 0 June 21st 07 06:52 PM
Recovering the ribbon in Excel 2007 after an error Andrew B Excel Programming 0 August 20th 06 12:06 AM


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