Consulting

Results 1 to 6 of 6

Thread: cannot find MenuSheet in Excel Add-in

  1. #1
    VBAX Newbie
    Joined
    Dec 2013
    Posts
    3
    Location

    cannot find MenuSheet in Excel Add-in

    Hi,
    I have this Excel Add-in which contains several macro's we se to automatically proces a lot of data. Not created myself but by someone who has left the company. Now I want to add an extra button for some more data to proces.
    But this macro uses a MenuSheet I cannot find in the Add-in, since there are no sheets in place. Somehow it get's its info for the added button to run the macro's, please see code below.
    Can someone please help me out?
    Last edited by OPM; 12-02-2013 at 07:24 AM.

  2. #2
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,720
    Location
    A VBA add-in always has at least one sheet because it is basically just a workbook. You need to set its IsAddin property to false in order to view it.
    Be as you wish to seem

  3. #3
    VBAX Newbie
    Joined
    Dec 2013
    Posts
    3
    Location
    Hi,

    Thanks for your quick answer!

    Where can I find these settings?

  4. #4
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,720
    Location
    In the VB Editor (Alt+f11), locate the add-in in the Project Explorer window, and expand it until you can select the ThisWorkbook object. Then in the Properties window (f4 if it is not already visible), change the IsAddin property to False. You should now be able to see the sheets in the main Excel window.
    Be as you wish to seem

  5. #5
    VBAX Newbie
    Joined
    Dec 2013
    Posts
    3
    Location
    Great, that's it!!

    Thanks a lot for your help :-)

  6. #6
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,720
    Location
    You're welcome.
    Be as you wish to seem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •