Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default automating jmp thru excel

I am trying to use a macro found on the internet to automate jmp stat
analysis package through excel.

http://www.jmp.com/news/jmpercable/0...001/Excel.html
However, the statement below errors out saying the user-defined type is
not defined. Can anyone suggest a remedy.

Public JMPDoc As JMP.Document

thank you for you time

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default automating jmp thru excel

I know nothing about jmp but from the line of code and the message I can tell
that you need to have a reference to the jmp object library added to your
project. That would be in the VBA editor, go to Tools... References. Scroll
down the list and see if you can see it listed there. It might appear under
j for jmp or perhaps under the developer's name. If you have it there, check
off the checkbox and press OK and you should be set. If not you will need to
do some research: is the library file supplied with the app? If so, where on
your disk is the file stored? If not, how do you get it and does it need to
be licensed.
--
- K Dales


" wrote:

I am trying to use a macro found on the internet to automate jmp stat
analysis package through excel.

http://www.jmp.com/news/jmpercable/0...001/Excel.html
However, the statement below errors out saying the user-defined type is
not defined. Can anyone suggest a remedy.

Public JMPDoc As JMP.Document

thank you for you time


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default automating jmp thru excel

I suspect you need to go into tools=References in the VBE and find Jmp
listed in your references. Click the checkbox next to this entry to create
a reference to it in your workbook. Once you do that, you should be able to
go to the object browser and a Jmp library listed there. If you do, then
the code shouldn't cause you a problem.

--
Regards,
Tom Ogilvy

wrote in message
oups.com...
I am trying to use a macro found on the internet to automate jmp stat
analysis package through excel.

http://www.jmp.com/news/jmpercable/0...001/Excel.html
However, the statement below errors out saying the user-defined type is
not defined. Can anyone suggest a remedy.

Public JMPDoc As JMP.Document

thank you for you time



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default automating jmp thru excel

Thanks guys,

that did the trick.

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
Automating Excel mvpejp Excel Discussion (Misc queries) 0 November 22nd 05 07:33 PM
Excel 97 automating web query? [email protected] Excel Programming 0 August 22nd 05 02:37 PM
Automating Excel John Excel Programming 1 January 26th 05 06:44 PM
Automating Excel (XL2002) Randy[_12_] Excel Programming 1 November 4th 03 02:19 PM
Automating Excel from VB .NET Howard Kaikow Excel Programming 12 August 31st 03 02:56 AM


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