If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Recordin Regression as a Macro
Hi,
I cant seem to record a regression as a macro and apply it to a "button"... Wat i did: Started "Record New Macro", started "Relative Referencing"... den i went to "Data Analysis", "Regression" Entered the X & Y input values using "Ctrl, Shift, Down" "Stop Recording" Applied to "button" but, it showed "run-time error 1004" ATPVBAEN.XLA could not be found. can someone help mi? went to editor and tis is as follows: Sub Macro2() ' ' Macro2 Macro ' Macro recorded 10/31/2005 by Psychotic ' ' Application.Run "ATPVBAEN.XLA!Regress", , , False, True, , , False, _ False, False, False, , False ActiveWindow.SmallScroll Down:=-30 End Sub |
#2
|
|||
|
|||
Hi,
i juz realised tat i need to install the add-in: Analysis ToolPak-VBA However, i encountered another problem... it said "input Y range missing. pls enter". Ani help? did i do sumtink wrong when recording the macro? |
#3
|
|||
|
|||
Recordin Regression as a Macro
Maybe you should post this in an Excel vba Forum ...
"psychotic" wrote in message news Hi, i juz realised tat i need to install the add-in: Analysis ToolPak-VBA However, i encountered another problem... it said "input Y range missing. pls enter". Ani help? did i do sumtink wrong when recording the macro? -- psychotic |
#4
|
|||
|
|||
Recordin Regression as a Macro
Mon, 31 Oct 2005 06:41:21 +0000 from psychotic
: i juz realised tat i need to install the add-in: Analysis ToolPak-VBA _And_ you need to use Excel. This is a MS Word newsgroup. :-) -- Stan Brown, Oak Road Systems, Tompkins County, New York, USA http://OakRoadSystems.com/ "If there's one thing I know, it's men. I ought to: it's been my life work." -- Marie Dressler, in /Dinner at Eight/ |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro Button Won't Stay on Toolbar | caleb | General Discussion | 2 | June 14th, 2005 11:59 PM |
Playing a macro from another workbook | Jim | General Discussion | 1 | February 23rd, 2005 10:12 PM |
Keyboard Shortcut Only Runs Part of the Macro | Jonnyboy117 | General Discussion | 2 | July 14th, 2004 08:27 PM |
Need Entry Point 18 Help On Access Executable File | Jeff Conrad | General Discussion | 26 | July 14th, 2004 06:00 AM |
Macro when a font in a range changes | whisperinghill | General Discussion | 0 | June 14th, 2004 07:21 PM |