B
Barb Reinhardt
I am using the following bit of code
On Error Resume Next
Set FindWorksheet =
myXLBook.Worksheets(CStr(myXLBook.VBProject.VBComponents(myWSCodename).Properties("Name")))
On Error GoTo 0
to find a worksheet. FindWorksheet is defined as a Worksheet. This code
works on my computer when the Microsoft Visual Basic for Application
Extensibility 5.3 reference is unchecked. FWIW, I'm using Excel 2003 on
Windows XP.
A colleague is running the same code in her machine with the reference
unchecked and it's not finding anything. She's also using Office 2003 and I
suspect she's using Windows XP, but I'm not certain. When we select the
reference to the Extensibility library on her machine, everything works fine.
Gary's Student has helped some in this thread
http://www.microsoft.com/office/com...&p=1&tid=644e30de-64be-4805-9a49-5eec3868474a
, but I still don't understand why it works on some machines and not on
others. I really don't want to have to redistribute this application again.
Can someone assist?
Thanks,
Barb Reinhardt
On Error Resume Next
Set FindWorksheet =
myXLBook.Worksheets(CStr(myXLBook.VBProject.VBComponents(myWSCodename).Properties("Name")))
On Error GoTo 0
to find a worksheet. FindWorksheet is defined as a Worksheet. This code
works on my computer when the Microsoft Visual Basic for Application
Extensibility 5.3 reference is unchecked. FWIW, I'm using Excel 2003 on
Windows XP.
A colleague is running the same code in her machine with the reference
unchecked and it's not finding anything. She's also using Office 2003 and I
suspect she's using Windows XP, but I'm not certain. When we select the
reference to the Extensibility library on her machine, everything works fine.
Gary's Student has helped some in this thread
http://www.microsoft.com/office/com...&p=1&tid=644e30de-64be-4805-9a49-5eec3868474a
, but I still don't understand why it works on some machines and not on
others. I really don't want to have to redistribute this application again.
Can someone assist?
Thanks,
Barb Reinhardt