+ Reply to Thread
Results 1 to 2 of 2

Running SAS Queries VBA Excel VBA code?

  1. #1
    Registered User
    Join Date
    04-14-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    28

    Running SAS Queries VBA Excel VBA code?

    Hi all,

    I wanted to poke around the heads of your VBA gurus to find out if it would be possible to run SAS code via excel vba?

    Ive done a number of google searches but keep getting SAS to Excel information, when im looking for Excel to SAS.

    The codes are all pre-written and at most require no or only modest ajustments (dates etc).

    Is it possible to interface with SAS the same way you can interface with business objects?

    I currently have a model that can run many BO reports, ajust variables then save them down, but i wanted to see if i could do the same with SAS.

    Cheers all,

    Mark

  2. #2
    Registered User
    Join Date
    04-14-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Running SAS Queries VBA Excel VBA code?

    hmm

    Apologies for the tripple post, unsure as to what may have caused that

    But anyway, done some trial and error and managed to get SAS to open via excel.

    Please Login or Register  to view this content.
    What im attemping to do now is open a SAS query (premade), then run it.

    An example with and one without variables to pass along would be awesome..

    I assumed it would be something like this,

    "" Set mydoc = st.Documents.Open("PATH") ""
    Last edited by elmarko123; 04-21-2010 at 08:15 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1