PC Review


Reply
Thread Tools Rate Thread

Calling Fourier plug-in from VBA

 
 
=?Utf-8?B?U8O2cmVuX01hcm9kw7ZyZW4=?=
Guest
Posts: n/a
 
      16th Nov 2007
I want to do an FFT on some data.
I have recorded commands in a macro.

Application.Run "ATPVBAEN.XLA!Fourier",
ActiveSheet.Range("$B$2:$B$4097"), _
ActiveSheet.Range("$J$2:$J$4097"), False, False

But when I run it again I get error 1004.
It says that it can't find ATPVBAEN.XLA.
This worked yesterday.

Someone that has a better way to do it?

Best regards,
/Sören
 
Reply With Quote
 
 
 
 
=?Utf-8?B?U8O2cmVuX01hcm9kw7ZyZW4=?=
Guest
Posts: n/a
 
      16th Nov 2007
I have found the problem.
I missed to tab the "Analysis Toolpack - VBA" in Tools - Add-in menu in Excel
and then tab the "atpvbaen.xls" in Tools - Reference - menu in VBA editor.

So now it is working.

BR,
/Sören

"Sören_Marodören" wrote:

> I want to do an FFT on some data.
> I have recorded commands in a macro.
>
> Application.Run "ATPVBAEN.XLA!Fourier",
> ActiveSheet.Range("$B$2:$B$4097"), _
> ActiveSheet.Range("$J$2:$J$4097"), False, False
>
> But when I run it again I get error 1004.
> It says that it can't find ATPVBAEN.XLA.
> This worked yesterday.
>
> Someone that has a better way to do it?
>
> Best regards,
> /Sören

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Add-in = Fourier Analysis MichaelRobert Microsoft Excel Worksheet Functions 9 18th Jan 2009 04:35 PM
inverse fourier =?Utf-8?B?RGFuaWVs?= Microsoft Excel Programming 8 27th Jun 2007 01:15 AM
"Reference is not Valid" when calling fast fourier transform =?Utf-8?B?SmFja3NvblJKb25lcw==?= Microsoft Excel Programming 3 8th May 2006 02:00 PM
Fourier Series =?Utf-8?B?RnJhbmRhcg==?= Microsoft Excel Worksheet Functions 1 3rd Oct 2005 04:52 PM
Re: Fourier Analysis Harlan Grove Microsoft Excel Worksheet Functions 0 13th Jan 2005 07:30 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:17 PM.