+ Reply to Thread
Results 1 to 6 of 6

How to use VBA in automating a reporting tool installed in windows OS?

  1. #1
    Registered User
    Join Date
    07-10-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    3

    How to use VBA in automating a reporting tool installed in windows OS?

    Hello All,

    I recently joined this group. My name is Mithilesh. I was looking for experts advice on automating a reporting tool through VBA.
    The reporting tool is an application installed in windows OS. I am looking for a way to automate the downloading of reports from this tool.
    Any help would be highly appreciated.
    Please let me know if more information is needed on this.

    Regards
    Mithilesh

  2. #2
    Forum Contributor
    Join Date
    07-01-2009
    Location
    Maine, USA
    MS-Off Ver
    Excel 2016
    Posts
    161

    Re: How to use VBA in automating a reporting tool installed in windows OS?

    Without much specifics, I would think you won't want to use VBA for this as it is for automation within MS Office - if anything, try PowerShell or VBS/HTA.

  3. #3
    Registered User
    Join Date
    07-10-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    3

    Re: How to use VBA in automating a reporting tool installed in windows OS?

    Hi Mainemojo,

    Thank you for replying. So you are saying that it is not possible through VBA. Is it?

    I am not sure about Powershell or VBS/HTA. Do you need more information about the reporting tool? Can you help me with this?

    Regards
    Mithilesh

  4. #4
    Forum Contributor
    Join Date
    07-01-2009
    Location
    Maine, USA
    MS-Off Ver
    Excel 2016
    Posts
    161

    Re: How to use VBA in automating a reporting tool installed in windows OS?

    You can use VBA. Problem with using only VBA is that you will need to open one of the Microsoft Office products in order for your script/macro to run. This relies on you opening up your application to have the script run.

    Personally, I'd prefer to have a script that I can 'set it and forget it'! With Powershell or VBS/HTA, you can. If you have Windows 7 or newer, both are included as part of the OS. VBS is like VBA but can run straight from Windows. HTA is more of an HTML based version of VBS.

    Why don't you elaborate on the reporting tool?

  5. #5
    Registered User
    Join Date
    07-10-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    3

    Re: How to use VBA in automating a reporting tool installed in windows OS?

    Hi Mainemojo,

    The tool is IBM's On-Demand reporting tool. We have reports in this tool and would require to download the report from this tool which is a time consuming task. So I was thinking to automate this job.
    I don't have much clue on VBS/HTA. Can you help me with this?

  6. #6
    Forum Contributor
    Join Date
    07-01-2009
    Location
    Maine, USA
    MS-Off Ver
    Excel 2016
    Posts
    161

    Re: How to use VBA in automating a reporting tool installed in windows OS?

    So here's what you can do. Not sure what version of On-Demand you have, but you can use macros in On-Demand. Depends on how automated you want this, you can use Excel to connect using On-Demand to your database (look at this link from IBM on Host On-Demand Macro Programming Guide. The link will help you with creating an ODBC connection from Excel to your database. Then you can use an On-Demand macro to download the specific data you want, and import it into Excel. You would then use VBA to manipulate the data in Excel to how you want it to look.

    You'll have to figure out the On-Demand macro and ODBC connection yourself as I don't have access to your system or data. Once you get the data into Excel, myself or others in this group could help you with VBA to manipulate the data how you want it to look.

+ 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] Automating Month End Reporting Calendar
    By Excel-Access in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-11-2015, 12:23 PM
  2. Trying to build a reporting tool
    By anjosm in forum Excel General
    Replies: 3
    Last Post: 10-03-2014, 11:24 AM
  3. Just installed Windows 7 (64 bit) on my Mac. Questions....
    By amt7565 in forum Microsoft Windows Help
    Replies: 2
    Last Post: 04-13-2014, 04:32 PM
  4. Looking for an online reporting tool
    By fbrb99 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-17-2012, 10:14 PM
  5. Reporting tool
    By tomsheek in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 01-10-2012, 08:56 AM
  6. Analysis Tool Pak installed but #NAME still showing
    By Richard Buttrey in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-10-2009, 02:36 PM
  7. [SOLVED] Excel as a reporting tool
    By [email protected] in forum Excel General
    Replies: 2
    Last Post: 05-12-2005, 12:06 PM

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