Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Error in macro creation

I am new at this. I am trying to create a macro that would execute a
"Sample" found under Tools, Data Analysis. I create the macro using the
record macro method. All seems well until I run it and get a Run-time erroe
'1004':
'ATPVBAEN.XLA' could not be found. Check the spelling... The debug tell me
there is an error in line:"Aplication.Run "ATPVBAEN.XLA!Sample", , , "R", 10,
False.

How do I fix this?
Thank You

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Error in macro creation

Hi Nadeau,

In the VBE (Alt-F11), with the project containing your code module selected:

Tools | References | check atpvbaen.xls

---
Regards,
Norman



"Nadeau Poultry" wrote in message
...
The add-in is installed. I can execute the "sample" manually and it
works.
I get the results in the specified output range.

"Don Guillett" wrote:

Install the addin

--
Don Guillett
SalesAid Software

"Nadeau Poultry" wrote in
message
...
I am new at this. I am trying to create a macro that would execute a
"Sample" found under Tools, Data Analysis. I create the macro using
the
record macro method. All seems well until I run it and get a Run-time

erroe
'1004':
'ATPVBAEN.XLA' could not be found. Check the spelling... The debug
tell

me
there is an error in line:"Aplication.Run "ATPVBAEN.XLA!Sample", , ,
"R",

10,
False.

How do I fix this?
Thank You






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
Pivot Table - there is an error message pop out during creation. Cpviv Charts and Charting in Excel 1 October 31st 08 05:31 AM
Error message creation Rich Mogy Excel Discussion (Misc queries) 2 July 6th 06 05:52 AM
multiple links creation error Devin D Excel Discussion (Misc queries) 0 April 20th 06 04:22 AM
Error '1004' (Method 'Cells' of '_Global' Failed) On chart creation? NooK[_12_] Excel Programming 5 June 28th 04 07:21 AM
Digital Certificate creation error using makecert John[_35_] Excel Programming 0 July 8th 03 06:16 PM


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