+ Reply to Thread
Results 1 to 3 of 3

How to verify that the SSIS package ran successfully after running a VBA macro from Excel?

  1. #1
    Registered User
    Join Date
    01-07-2014
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    How to verify that the SSIS package ran successfully after running a VBA macro from Excel?

    I have an Excel VBA macro which calls a stored procedure. The stored procedure calls a SQL agent, which in turn calls an SSIS package. All I need from the Excel VBA code is to ensure that the SSIS package ran successfully. How do you develop a VBA code to let the user know that the job either failed or succeeded after the user executes the Excel macro? Also, is there a need for a recordset in the VBA code?

  2. #2
    Forum Contributor
    Join Date
    07-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    351

    Re: How to verify that the SSIS package ran successfully after running a VBA macro from Ex

    Could it be as simple as setting a boolean? By fail, do you mean the procedure produced an error?

  3. #3
    Registered User
    Join Date
    01-07-2014
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: How to verify that the SSIS package ran successfully after running a VBA macro from Ex

    Yes, SSIS package failure.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Verify all the cells in a column start with 4 or 7 before running rest of macro
    By alfaia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-18-2013, 05:45 AM
  2. CSV is coming in sorted order in SQL table through SSIS Package(SQL server)
    By Tusharp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-18-2012, 09:02 AM
  3. Need macro to verify that the selected cell is in column B before running, how?
    By MrRenda in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-08-2012, 03:54 PM
  4. Replies: 0
    Last Post: 06-04-2005, 11:05 AM
  5. [SOLVED] Outlining -- VBA Macro Package for Excel?
    By David Lewis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-04-2005, 11:05 AM

Tags for this Thread

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