+ Reply to Thread
Results 1 to 4 of 4

Showing sheets and forms, not running macros, from add in

  1. #1
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Showing sheets and forms, not running macros, from add in

    Follow up from this post regarding usage of an add in for distribution purposes:

    I now have the spreadsheet I want to distribute saved as an add in stored in a network repository. RoyUK has provided me with some links with code I lifted to add custom menu items. The last problem I have is that I'm not trying to call a macro, but am instead trying to load the sheets (there are 4 sheets) and forms (there are 7 forms).

    With what I have now, I can launch a macro with no problem, but cannot get the sheets / forms displayed to the user. I've tried launching a form by loading / showing it, but I get error message (runtime error 9).

    Any idea how I can get my sheets to load?
    Last edited by JP Romano; 09-28-2009 at 08:50 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Showing sheets and forms, not running macros, from add in

    If you mean UserForms then there should be no problem.

    You cannot show sheets from an addin, you would need to copy hem to another workbook.
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Showing sheets and forms, not running macros, from add in

    Thanks Roy... guess that kind of kills my idea then.

    I'll see if I can come up with a better way to distribute the tool. Apparently, my users don't like getting a new version every other week that they have to download from an email (even though they've told me it saves them HOURS of manual work every week when they use it)!

    Thanks for your help and input. As always, you rock sir!

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Showing sheets and forms, not running macros, from add in

    The code/userforms should be in an addin, any sheets that require input should be in a workbook, this woud not need updating.

    You just need to be sure to specify the workbook to work with

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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