+ Reply to Thread
Results 1 to 4 of 4

how to incorporate an excel add in into a sub

  1. #1
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    how to incorporate an excel add in into a sub

    I purchased an excel add in some time ago called analyzer excel. It basically loads historical stock price data at a press of a button that I then analyze.

    What I'd like to do is incorporate the loading of the price data sub into one of the subs I'm writing. I've contacted the developer of the software in an attempt to get the name of the sub that I can call and run within my sub, but have gotten no response.

    Also tried just recording a macro, press the price load data button on the add in, but nothing shows up in the code.

    Is there any other way to do this?

    Thank you.
    Last edited by luv2glyd; 02-01-2011 at 12:48 PM.
    You either quit or become really good at it. There are no other choices.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: how to incorporate an excel add in into a sub

    Never used it myself but it looks like they want you to buy something else before you can control it with VBA: http://analyzerxl.helpserve.com/inde...wnloaditemid=2

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,331

    Re: how to incorporate an excel add in into a sub

    If you want to just simulate clicking the button, you need to work out the commandbarcontrol and then you can use its Execute method.
    Everyone who confuses correlation and causation ends up dead.

  4. #4
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    Re: how to incorporate an excel add in into a sub

    OK, finally figured it out. You have to create a refference to one of their modules which does show up. Thank you anyways.

+ 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