Excel 2007 Add-Ins
-
Monday, May 07, 2012 2:10 PM
Hi all,
I have to develop an Add-in in Excel. I've some experience in VBA but never made an Add-In, just code call from toolbar buttons with Excel 2000 and know from the ribbon with Excel 2007.
I'm confined to use the Microsoft Excel 2007.
Can someone give me advices about this subject. What are your experience ... difficulties that I will face... limitations... and some hint's if you please.
Thanks in advance.
João
All Replies
-
Monday, May 07, 2012 2:37 PM
An add-in is just a workbook with macros saved as an Excel add-in (*.xla in 97-2003 format, *.xlam in 2007-2010 format).
Things to consider:
- An add-in, when loaded, is invisible - you can use the worksheet(s) in the add-in to store data, but the user can't see or edit the sheets.
- As a consequence, all communication with the user is through custom toolbars, custom ribbon elements and/or keyboard shortcuts. You can display userforms of course.
- You should have error handling for all code in the add-in. You don't want the user to be confronted with unhandled errors.
Regards, Hans Vogelaar
- Marked As Answer by Quist ZhangMicrosoft Contingent Staff, Moderator Thursday, May 31, 2012 2:00 AM
-
Friday, May 11, 2012 4:07 PM
Hans,
thanks for replying.
It is like I thought.
Best Regards
João
-
Saturday, May 12, 2012 4:09 AM
Hi all,
I have to develop an Add-in in Excel. I've some experience in VBA but never made an Add-In, just code call from toolbar buttons with Excel 2000 and know from the ribbon with Excel 2007.
I'm confined to use the Microsoft Excel 2007.
Can someone give me advices about this subject. What are your experience ... difficulties that I will face... limitations... and some hint's if you please.
Thanks in advance.
João
It's the only way to distribute code. {smile}
You do have to cater to some other issues that those pointed out by Hans. One example is the difference between ActiveWorkbook and ThisWorkbook. I am sure there are others but for most Active/ThisWorkbook is the major one.
Tushar Mehta (Technology and Operations Consulting)
www.tushar-mehta.com (Excel and PowerPoint add-ins and tutorials)
Microsoft MVP Excel 2000-Present

