Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Why Would Add-In Macro Not Be Accessible?


I posted this in the General Questions area and I think it should have been
here so here it is ... again.

I have a number of Excel reports that are running on a server at work on set
frequencies (typically daily). I created an add-in for a generic print
routine so all the reports could use it to do the automated printing. The
add-in is loaded in
Excel on the server and shows in the list of add-ins.
What is happening, is that some workbooks do not recognize the add-in
anymore (ie., "macro not found"). It does not affect all workbooks though.
They all used to work fine in the past.
I can open the VB Editor and see the add-in listed in the Project Explorer.
I can open it and see the code too.

The only way to fix it for these workbooks is to copy the code and insert it
into a new module in the workbook.

Any idea why this is happening and how to fix it so it only uses the add-in
macros?

--
Edwin Kelly
Houston, TX
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default Why Would Add-In Macro Not Be Accessible?


for macro to call macro in other workbook/addin the first workbook need have
a refernce to addin set in Tools, References in the vbe. or else use the
run method like this: run "addin.xla!macroname"


"Edwin Kelly" wrote in message
...
|I posted this in the General Questions area and I think it should have been
| here so here it is ... again.
|
| I have a number of Excel reports that are running on a server at work on
set
| frequencies (typically daily). I created an add-in for a generic print
| routine so all the reports could use it to do the automated printing. The
| add-in is loaded in
| Excel on the server and shows in the list of add-ins.
| What is happening, is that some workbooks do not recognize the add-in
| anymore (ie., "macro not found"). It does not affect all workbooks
though.
| They all used to work fine in the past.
| I can open the VB Editor and see the add-in listed in the Project
Explorer.
| I can open it and see the code too.
|
| The only way to fix it for these workbooks is to copy the code and insert
it
| into a new module in the workbook.
|
| Any idea why this is happening and how to fix it so it only uses the
add-in
| macros?
|
| --
| Edwin Kelly
| Houston, TX

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Why Would Add-In Macro Not Be Accessible?


Ok thanks. So I guess it is impossible to call a macro that way and pass
variable the macro needs?
--
Edwin Kelly
Houston, TX


"Homey" wrote:

for macro to call macro in other workbook/addin the first workbook need have
a refernce to addin set in Tools, References in the vbe. or else use the
run method like this: run "addin.xla!macroname"


"Edwin Kelly" wrote in message
...
|I posted this in the General Questions area and I think it should have been
| here so here it is ... again.
|
| I have a number of Excel reports that are running on a server at work on
set
| frequencies (typically daily). I created an add-in for a generic print
| routine so all the reports could use it to do the automated printing. The
| add-in is loaded in
| Excel on the server and shows in the list of add-ins.
| What is happening, is that some workbooks do not recognize the add-in
| anymore (ie., "macro not found"). It does not affect all workbooks
though.
| They all used to work fine in the past.
| I can open the VB Editor and see the add-in listed in the Project
Explorer.
| I can open it and see the code too.
|
| The only way to fix it for these workbooks is to copy the code and insert
it
| into a new module in the workbook.
|
| Any idea why this is happening and how to fix it so it only uses the
add-in
| macros?
|
| --
| Edwin Kelly
| Houston, TX


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default Why Would Add-In Macro Not Be Accessible?


no problem either way to pass argument. if setting refence normal call work
okay. if using run:

Run "MyAddin.xla!SubToCall", "abc"

"Edwin Kelly" wrote in message
...
| Ok thanks. So I guess it is impossible to call a macro that way and pass
| variable the macro needs?
| --
| Edwin Kelly
| Houston, TX
|
|
| "Homey" wrote:
|
| for macro to call macro in other workbook/addin the first workbook need
have
| a refernce to addin set in Tools, References in the vbe. or else use
the
| run method like this: run "addin.xla!macroname"
|
|
| "Edwin Kelly" wrote in message
| ...
| |I posted this in the General Questions area and I think it should have
been
| | here so here it is ... again.
| |
| | I have a number of Excel reports that are running on a server at work
on
| set
| | frequencies (typically daily). I created an add-in for a generic
print
| | routine so all the reports could use it to do the automated printing.
The
| | add-in is loaded in
| | Excel on the server and shows in the list of add-ins.
| | What is happening, is that some workbooks do not recognize the add-in
| | anymore (ie., "macro not found"). It does not affect all workbooks
| though.
| | They all used to work fine in the past.
| | I can open the VB Editor and see the add-in listed in the Project
| Explorer.
| | I can open it and see the code too.
| |
| | The only way to fix it for these workbooks is to copy the code and
insert
| it
| | into a new module in the workbook.
| |
| | Any idea why this is happening and how to fix it so it only uses the
| add-in
| | macros?
| |
| | --
| | Edwin Kelly
| | Houston, TX
|
|

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Why Would Add-In Macro Not Be Accessible?


Check your other post.

Edwin Kelly wrote:

I posted this in the General Questions area and I think it should have been
here so here it is ... again.

I have a number of Excel reports that are running on a server at work on set
frequencies (typically daily). I created an add-in for a generic print
routine so all the reports could use it to do the automated printing. The
add-in is loaded in
Excel on the server and shows in the list of add-ins.
What is happening, is that some workbooks do not recognize the add-in
anymore (ie., "macro not found"). It does not affect all workbooks though.
They all used to work fine in the past.
I can open the VB Editor and see the add-in listed in the Project Explorer.
I can open it and see the code too.

The only way to fix it for these workbooks is to copy the code and insert it
into a new module in the workbook.

Any idea why this is happening and how to fix it so it only uses the add-in
macros?

--
Edwin Kelly
Houston, TX


--

Dave Peterson
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
Why Would Add-In Modules Not Be Accessible? Edwin Kelly Excel Discussion (Misc queries) 2 June 23rd 09 06:11 PM
Macro accessible to all users juliejg1 Excel Discussion (Misc queries) 1 August 30th 08 12:21 AM
Macro accessible by all users juliejg1 Excel Programming 2 August 29th 08 03:56 PM
url not accessible mikeolson Excel Programming 6 March 6th 07 08:08 AM
The folder"name" isn't accessible AMM Excel Discussion (Misc queries) 5 March 3rd 05 11:01 PM


All times are GMT +1. The time now is 09:40 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"