+ Reply to Thread
Results 1 to 2 of 2

Running Macros from my Add-in

  1. #1
    Registered User
    Join Date
    11-05-2007
    Posts
    82

    Running Macros from my Add-in

    Hello Again all,

    I've created an Add-in which is going to be used by multiple users:

    Part of the functionality of the Add-in is to run daily, weekly and monthly data and format in to reports. I have all the code to do this - however this is based in an Excel file that I was going to use as the control mechanism before I managed to create it Via an Add-in.

    1st Question - is how would I reference the code within the spreadsheet once the workbook is open? I need to open this workbook anyway - as all the data will be stored there.

    2nd Question - IS this the best way to do this - or would it be more practicle to store the code within the Add-in?

    Any help is much appreciated:

    Thanks, Neil

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    An addin should contain the code and generally have a menu to access the macros. See

    http://www.excelforum.com/showthread...highlight=menu
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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