Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / General MS Word Questions / October 2005

Tip: Looking for answers? Try searching our database.

Recordin Regression as a Macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
psychotic - 31 Oct 2005 07:30 GMT
Hi,

I cant seem to record a regression as a macro and apply it to
"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 Su

--
psychotic
psychotic - 31 Oct 2005 07:41 GMT
Hi,

i juz realised tat i need to install the add-in: Analysis ToolPak-VBA

However, i encountered another problem...  it said "input Y rang
missing. pls enter".

Ani help?  did i do sumtink wrong when recording the macro

--
psychotic
macropod - 31 Oct 2005 10:56 GMT
Maybe you should post this in an Excel vba Forum ...

> Hi,
>
[quoted text clipped - 4 lines]
>
> Ani help?  did i do sumtink wrong when recording the macro?
Stan Brown - 31 Oct 2005 16:14 GMT
Mon, 31 Oct 2005 06:41:21 +0000 from psychotic
<psychotic.1xrfho@news.officefrustration.com>:
> 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. :-)

Signature

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/

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.