Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can't Dim As DataObject??
I typed Dim doFName As DataObject. When I stepped through the code and it
hit this line, I get: Compile Error: User-defined type not defined Isn't DataObject defined in Excel? Have I failed to reference the right library? Any suggestions? Ed |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can't Dim As DataObject??
Ed,
Do you have a reference to the 'Forms' library for the file that contains the code? Paul ------------------------------------------- I typed Dim doFName As DataObject. When I stepped through the code and it hit this line, I get: Compile Error: User-defined type not defined Isn't DataObject defined in Excel? Have I failed to reference the right library? Any suggestions? Ed |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can't Dim As DataObject??
Ed
Reference the Microsoft Forms 2.0 Library. -- Dick Kusleika MVP - Excel www.dicks-clicks.com Post all replies to the newsgroup. "Ed" wrote in message ... I typed Dim doFName As DataObject. When I stepped through the code and it hit this line, I get: Compile Error: User-defined type not defined Isn't DataObject defined in Excel? Have I failed to reference the right library? Any suggestions? Ed |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can't Dim As DataObject??
Thank you, Dick and Paul. That did the trick!
Ed "Dick Kusleika" wrote in message ... Ed Reference the Microsoft Forms 2.0 Library. -- Dick Kusleika MVP - Excel www.dicks-clicks.com Post all replies to the newsgroup. "Ed" wrote in message ... I typed Dim doFName As DataObject. When I stepped through the code and it hit this line, I get: Compile Error: User-defined type not defined Isn't DataObject defined in Excel? Have I failed to reference the right library? Any suggestions? Ed |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Error using DataObject to get clipboard data | Excel Discussion (Misc queries) |