473,399 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

How to save add-in on Excel 2010

9
I would like to save an add-in build as VBA on Excel 2010. The function unhides all the hidden TABS on a Excel worksheet.

Thanks
Feb 22 '13 #1
4 2439
zmbd
5,501 Expert Mod 4TB
I have just such a workbook for my lab that handles common calculations and other functions.

It's not very easy to accomplish for V2010 as you also have to provide a way for the user to run your code and access any custom functions.

So, first you'll really need to learn about how to design a custom ribbon.
Second you will need to learn how to expose code and functions from a workbook/add-in without Ribbon callback globally.
Finally you'll have to decide on a means of distribution.

All of these are very much beyond what this forum is about; however, your favorite search engine should be able to turn up a few tutorials. Once you have these and have read them, try your hand and post back with your problems as they occur.
Feb 22 '13 #2
malka
9
I have the VBA sub function, all I need to know is how to save it as add-in on Excel 2010

Thanks
Feb 23 '13 #3
malka
9
VBA function to unhide all tabs in a worksheet
Expand|Select|Wrap|Line Numbers
  1. Sub UnhideAllSheets()  
  2.     Dim wsSheet As Worksheet          
  3.     For Each wsSheet In ActiveWorkbook.Worksheets      
  4.         wsSheet.Visible = xlSheetVisible       
  5.     Next wsSheet       
  6. End Sub
Feb 23 '13 #4
zmbd
5,501 Expert Mod 4TB
the VBA is irrelevant
Open your workbook containing the VBA
Remove any unused worksheets
file save as
select the "add-in" (.xlam) option.
Be mindful of the of the file path.
click save

- please be careful as to how you word your posts. Anything that could be taken as an outright demand for code/completed project or other answers can result in the entire thread being closed and deleted.
Out right requests for full code are against site policy.
Bytes is not a code nor homework service. Please read the FAQ and posting guidelines before re-posting your question.
>> Before Posting (VBA or SQL) Code.
>> How to ask "good" questions -- READ BEFORE SUBMITTING A QUESTION!.
>> POSTING_GUIDELINES: Please Read Carefully Before Posting to a Forum.
Feb 23 '13 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Drunkalot | last post by:
I wrote a program that made some combinations and add them to a listbox, and i need to save the contents of the listbox every 1 minute... The method that save the content of the listbox i have...
0
by: Alan T | last post by:
At design time I have added 4 menu items to a ContextMenuStrip: Add Edit Delete Save How do I add menu items at run time into these 4 menu items to become: Add -Document -Person
1
by: David Lozzi | last post by:
Howdy, I've decided to try and use the gridview and a sqldatasource. When I add the sqldatasource connection (to MSDE 2000) and press save, I get "Visual Studio has encountered an unexpected...
0
by: vishalsangwan | last post by:
Hi Everybody, I am writing an application using the bindingnavigator and the oledbDataAdapter. I am not able to save the changes to the actual access database. Please help me. The code follows. ...
1
by: vishalsangwan | last post by:
Hi Everybody, I am writing an application using the bindingnavigator and the oledbDataAdapter. I am not able to save the changes to the actual access database. Please help me. The code follows. ...
3
by: indhu | last post by:
Private Sub cmdsave_Click() If imagebox.Picture = LoadPicture("") Then MsgBox "Please browse the image you want to add to your database.", vbExclamation, "Image required" browseimage ...
1
by: =?Utf-8?B?QmFkaXM=?= | last post by:
Hi, I'm using the bellow code to mail merge a word document and it's working fine, where I'm openning "improvement.doc" which is just word document that contain with some text and the merge...
3
by: elainenguyen | last post by:
I have a form call frmMedRec and on this form, I have a cbo box call Patient, then next to the cbo patient, I have a command button "Add a new patient". When the user click on this Add a New Patient...
4
by: zaidalin79 | last post by:
Hi all, I am trying to add a button to my webpage that opens the save as dialog box, and allows the users to save the page (it is a form) as a word doc... I used this code which does work, but only...
1
by: shreen mohamed | last post by:
Hi, i want to add for example image control during run time and save the value for it for ever i already add the control but i can't save the value for it for ever, i want to know how i can save...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.