+ Reply to Thread
Results 1 to 2 of 2

connecting to custom command bar

  1. #1
    Registered User
    Join Date
    11-01-2007
    Posts
    1

    connecting to custom command bar

    I have a custom toolbar written by someone else which works perfectly fine. It helps us connect up to an IBM mainframe and download data to an Excel file.

    (toolbar is called ISeries Access bar for those that know the name).

    I now want to access said toolbar programmatically and download several stored queries automatically.

    Eventually I want Access to hook up to this and pull the data in but connecting from Access to Excel I can do. Connecting to this custom toolbar I can't and don't have any documentation on it.

    I can't record steps from the macro recorder (it records an empty macro) and I can't record steps from Mercury Winrunner very well (it gets confused when I try to run the script a second time).

    Any suggestions about how to activate a custom tool on a custom toolbar when you don't have the documentation for it, etc.?

    Becky Mack

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good evening BeckyMack

    ...and welcome to the forum!!

    Is this toolbar a commercial product or written by an employee / consultant (I'm assuming it's an add-in of some kind)? In short you can't really make use of the code without access to the source code - you need to know if it is written using VBA or a compiled language to make a .COM add-in or .dll file. You could try going to Tools > Macro > Macros and seeing if any of the macros that make up the toolbar are here. If they are you could try running a few to see what they do, and start from there. If there's nothing there you could try accessing the VBE (press Alt + F11) to see if the source is accessible, if it isn't you're going to have to go back to the developer or perhaps think about getting a consultant involved.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

+ 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