Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Creating Excel Addin


Hi there,
I am working with excel 2k and xp, I created a workbook that has all
the macros that I use and I am trying to create it as an Addin.

I saved the workbook with a .xla under c:\documents and
settings\username\application data\microsoft\addins but still it
doesn't work as an addin...

I go to tools -- addins -- then browse to the location of the file
and I added and make sure it is checked but when I open excel and go to
macros, i don't see any of the macros....even with the addin checked.

i would like to be able to click on the .xla workbook and it add itself
to excel or at least when I add it by goint to tools -- addins and
check it, it would be available throughout excel everytime I open
it...

I know that I could save the workbook in XLstart to be available
everytime I open excel but I don't like this feature plus I would like
to be able to pass on the xla file to other people to install on their
machine.....

I checked microsoft website for creating an excel addin and I followed
the steps but it still doesn't work.....

any help please is highly appreciated....

you can also email me at

thanks a lot


--
salooha
------------------------------------------------------------------------
salooha's Profile:
http://www.excelforum.com/member.php...o&userid=14612
View this thread: http://www.excelforum.com/showthread...hreadid=381021

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 221
Default Creating Excel Addin

What are the names of your macros? Can't be private...
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"salooha" wrote in
message ...

Hi there,
I am working with excel 2k and xp, I created a workbook that has all
the macros that I use and I am trying to create it as an Addin.

I saved the workbook with a .xla under c:\documents and
settings\username\application data\microsoft\addins but still it
doesn't work as an addin...

I go to tools -- addins -- then browse to the location of the file
and I added and make sure it is checked but when I open excel and go to
macros, i don't see any of the macros....even with the addin checked.

i would like to be able to click on the .xla workbook and it add itself
to excel or at least when I add it by goint to tools -- addins and
check it, it would be available throughout excel everytime I open
it...

I know that I could save the workbook in XLstart to be available
everytime I open excel but I don't like this feature plus I would like
to be able to pass on the xla file to other people to install on their
machine.....

I checked microsoft website for creating an excel addin and I followed
the steps but it still doesn't work.....

any help please is highly appreciated....

you can also email me at

thanks a lot


--
salooha
------------------------------------------------------------------------
salooha's Profile:

http://www.excelforum.com/member.php...o&userid=14612
View this thread: http://www.excelforum.com/showthread...hreadid=381021



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Creating Excel Addin

Make sure that

- they are nor Private subs (Private Sub myMacro())
- the code module in the add-in doesn't have Option Private Module at the
start
- the subs and/or functions do not have arguments




RP
(remove nothere from the email address if mailing direct)


"salooha" wrote in
message ...

Hi there,
I am working with excel 2k and xp, I created a workbook that has all
the macros that I use and I am trying to create it as an Addin.

I saved the workbook with a .xla under c:\documents and
settings\username\application data\microsoft\addins but still it
doesn't work as an addin...

I go to tools -- addins -- then browse to the location of the file
and I added and make sure it is checked but when I open excel and go to
macros, i don't see any of the macros....even with the addin checked.

i would like to be able to click on the .xla workbook and it add itself
to excel or at least when I add it by goint to tools -- addins and
check it, it would be available throughout excel everytime I open
it...

I know that I could save the workbook in XLstart to be available
everytime I open excel but I don't like this feature plus I would like
to be able to pass on the xla file to other people to install on their
machine.....

I checked microsoft website for creating an excel addin and I followed
the steps but it still doesn't work.....

any help please is highly appreciated....

you can also email me at

thanks a lot


--
salooha
------------------------------------------------------------------------
salooha's Profile:

http://www.excelforum.com/member.php...o&userid=14612
View this thread: http://www.excelforum.com/showthread...hreadid=381021



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Creating Excel Addin

If you saved your workbook as an addin, the macros won't be visible via the
Tools|Macro|macros dialog.

You have to give the user a way to get to them.

I use a variation of John Walkenbach's menumaker:
http://j-walk.com/ss/excel/tips/tip53.htm
to add items to the worksheet menubar.

If I want to add a toolbar of my own, here's how I do it:
http://groups.google.co.uk/groups?th...5B41%40msn.com

salooha wrote:

Hi there,
I am working with excel 2k and xp, I created a workbook that has all
the macros that I use and I am trying to create it as an Addin.

I saved the workbook with a .xla under c:\documents and
settings\username\application data\microsoft\addins but still it
doesn't work as an addin...

I go to tools -- addins -- then browse to the location of the file
and I added and make sure it is checked but when I open excel and go to
macros, i don't see any of the macros....even with the addin checked.

i would like to be able to click on the .xla workbook and it add itself
to excel or at least when I add it by goint to tools -- addins and
check it, it would be available throughout excel everytime I open
it...

I know that I could save the workbook in XLstart to be available
everytime I open excel but I don't like this feature plus I would like
to be able to pass on the xla file to other people to install on their
machine.....

I checked microsoft website for creating an excel addin and I followed
the steps but it still doesn't work.....

any help please is highly appreciated....

you can also email me at

thanks a lot

--
salooha
------------------------------------------------------------------------
salooha's Profile:
http://www.excelforum.com/member.php...o&userid=14612
View this thread: http://www.excelforum.com/showthread...hreadid=381021


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Creating Excel Addin


Thank you for your help....let's say I have the code below to open a
notepad from excel....and I would like to have this available
throughout excel as an addin that can be installed on any machine that
has excel....the code below is not private as far as I know.....and I
have no functions involved...


Code:
--------------------

' Open Notepad
Sub OpenNotepad()
Dim retval As Variant
retval = Shell("C:\WINNT\system32\notepad.exe", vbNormalFocus)
Shell "notepad c:\myfile.txt"
End Sub

--------------------


can I create an addin that could be available whenever I open excel and
could be transfered on other machines as well?? I hope I clarified my
question this time a little.....

thanks again for your help....

salah


--
salooha
------------------------------------------------------------------------
salooha's Profile: http://www.excelforum.com/member.php...o&userid=14612
View this thread: http://www.excelforum.com/showthread...hreadid=381021



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Creating Excel Addin

Take a look at John Walkenbach's menumaker workbook.

You'll see how he does it.

salooha wrote:

Thank you for your help....let's say I have the code below to open a
notepad from excel....and I would like to have this available
throughout excel as an addin that can be installed on any machine that
has excel....the code below is not private as far as I know.....and I
have no functions involved...

Code:
--------------------

' Open Notepad
Sub OpenNotepad()
Dim retval As Variant
retval = Shell("C:\WINNT\system32\notepad.exe", vbNormalFocus)
Shell "notepad c:\myfile.txt"
End Sub

--------------------


can I create an addin that could be available whenever I open excel and
could be transfered on other machines as well?? I hope I clarified my
question this time a little.....

thanks again for your help....

salah

--
salooha
------------------------------------------------------------------------
salooha's Profile: http://www.excelforum.com/member.php...o&userid=14612
View this thread: http://www.excelforum.com/showthread...hreadid=381021


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Creating Excel Addin


Thanks Dave.

--
salooh
-----------------------------------------------------------------------
salooha's Profile: http://www.excelforum.com/member.php...fo&userid=1461
View this thread: http://www.excelforum.com/showthread.php?threadid=38102

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
#REF when creating an Addin stewdizzle Excel Discussion (Misc queries) 1 January 4th 07 06:07 AM
Problems creating a dll in Excel 2003 using addin designer Tammy[_5_] Excel Programming 1 October 22nd 04 05:20 AM
Excel Addin help!!! Carl Excel Programming 0 January 5th 04 04:38 PM
Creating a new Excel Addin Michael Lawrence Jr. Excel Programming 1 December 17th 03 10:30 PM
Remove Excel AddIn from AddIn List !! Help carl Excel Programming 2 December 8th 03 03:36 PM


All times are GMT +1. The time now is 09:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"