Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 194
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 194
Default 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
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
Error using DataObject to get clipboard data stocktsi Excel Discussion (Misc queries) 4 April 29th 09 02:54 PM


All times are GMT +1. The time now is 07:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"