Macros not showing up on list in excel ribbon - excel

i made add-in for excel, i locked it with password. Now when i try to add button to ribbon, macros are not shown on macros list. When i enter password in vba editor to unlock the project macros are availible on macros list. Does someone know how to let users install add-in and add button to ribbon with asigned macro then project is locked?
Subs are parameterless

Related

macro in right click menu for all workbooks

I wrote several macro with SAP scripting and other features.
For few of my macros, i need to select a cell, and then run the macro.
All these macros are stored in a add in, hence all my macros are available on every workbook.
I would like to share my addin with my colleagues but I would like to make the macros available from the right click menu.
All pieces of code found here and elsewhere indicate to have a piece of code located in "thisworkbook" tab. Hence the custom right click menu is only available on a specified workbook.
Is it possible to have my macro stored in my add-in accesibble from right click menu for all workbook that I open/use ? like the macro ribbon ?
thank you

Add Macro to Excel Ribbon in Add-In

I made an excel macro that retrieves data from other workbooks. I need to add a button to the Excel Ribbon for this Macro. The kicker: I need this button to go into a tab called "Special". This tab was part of an add-in and currently only contains one button. This "Special" Tab cannot be found in the customize ribbon area in the options tab.
Also, would it be better to turn my one macro into an add-in or should I just add the one macro to the ribbon.
Thank you all very much in advanced.

What is the easiest way to add Macro automatically to a set of Excel Files

I have a macro function that I have added to an excel file. My question is how can I add the same macro function to a specific set of excel files without copy pasting the macro in each excel vba editor.What is the easiest way to achieve this?
The objective is for the users who have no knowledge on excel macros should be able to easily add Macros to excel and execute it.
If the people who are importing the macros are also the users of these macros you might want to create an add-in out of your vba macro. The procedure is described here. The users would just have to install the add-in on their PCs once(step 4). They can then use the add-in for several Excel-files.
This needs to be done by each user once:
Step 4: Install the Add-In:
Go to Tools > Add-Ins to open the Add-Ins dialog. If you have stored your Add-In in the default location you will see its name displayed in the Add-Ins available: window (if you have stored your Add-In in a different folder, use the [Browse] button to find it). Click on your Add-In's name to see its description at the bottom of the dialog box.
To install your Add-In place a tick in the check-box next to your Add-In's name and click [OK]. [Click the thumbnail below to see a full-sized image]...
Installing your Add-In (Excel 2002) Installing your Add-In (Excel 2000/97)
As soon as the Add-In is installed its functions will be available in Excel. Find them in the User Defined section of the Function Wizard (Paste Function Tool) or simply type them into a cell as you would any built-in function. The Add-In will remain installed until you return to the Add-Ins dialog and uninstall it by removing the tick from the check-box.

Excel dna based addin disappears from Excel Ribbon

Excel dna based addin disappears from Excel Ribbon ocassionally; expecially when user lock the computer and comes back and dont see add in in ribbon.
How can I fix this ?

How to avoid the editing of a macro in Excel?

I have written a macro in Excel. When I send it to some user, he should not be able to see the macro.
Say I have a Excel workbook sample.xls, and it has a macro button to save the workbook to the server. When some other user opens the workbook, he should not be able to edit the macro behind that button.
How do I block other users from editing the code?
To lock a VBA project for viewing
Open the document, template, or database that contains the VBA project you want to protect. For Outlook or FrontPage, start Outlook or FrontPage on the computer that contains the VBA project you want to protect.
Open the Visual Basic Editor.
In the Project Explorer, right-click the project you want to protect, and then click ProjectName Properties on the shortcut menu.
On the Protection tab, select the Lock project for viewing check box, enter and confirm the password, and then click OK.
You can password protect it. But I'd suggest you search how to do it for your specific version of MS Excel. There is a link which shows how to do it in MS Excel 2003, I think: http://www.ozgrid.com/VBA/protect-vba-code.htm

Resources