none
myworkbook = Workbooks.Open(strfile) works on form, but don't work in a class RRS feed

  • General discussion

  •  myworkbook = Workbooks.Open(strfile) works on form, but don't work at inner  class

    i can call the objects at the class from the form and work but when i want to usu that internaly they return 0x800a03ec

     
    Thursday, July 11, 2013 11:04 PM

All replies

  • We need more information.

    Firstly, is this a VSTO workbook? A VSTO Add-in? Something else, such as a Windows Form?

    Which version of Excel is involved?

    Please be more specific about what you mean by "on form" vs. "inner class". Perhaps provide some sample code to illustrate.


    Cindy Meister, VSTO/Word MVP, my blog

    Friday, July 12, 2013 10:35 AM
    Moderator