Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default runing macro of imported module.

hi,
i added a module to excel file by import it from other file.
now when i try to run it from my menu it give me an error :"cannot run the
macro...the macro may not be available in this workbook or all macros
disabled".
the macros are not disabled, i also see it under the macro window under the
same name but with the module name before (moduleName.MacroName)
what shouls i done in order to be anable to continue running it from the menu.
(i still need the option to run it in both cases -with or without the module
name before...)
thanks
--
Miri Tz.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 128
Default runing macro of imported module.

On Oct 9, 6:22 am, Miri wrote:
hi,
i added a module to excel file by import it from other file.
now when i try to run it from my menu it give me an error :"cannot run the
macro...the macro may not be available in this workbook or all macros
disabled".
the macros are not disabled, i also see it under the macro window under the
same name but with the module name before (moduleName.MacroName)
what shouls i done in order to be anable to continue running it from the menu.
(i still need the option to run it in both cases -with or without the module
name before...)
thanks
--
Miri Tz.


Hello Miri,

The macro may have references to either specific sheet name(s) or
another workbook(s). Not all macros are written to run with other
workbooks or on other machines. Check your code for these issues.

Sincerely,
Leith Ross

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
Imported Visual Basic Module - Save Macros for use in Excel Pat Adams Excel Discussion (Misc queries) 1 December 2nd 09 09:44 PM
Runing a macro in a workbook from another macro in other workbook dhatul Excel Discussion (Misc queries) 0 January 13th 06 06:27 AM
Runing part of the macro michal Excel Programming 1 June 17th 05 05:39 PM
Error when runing macro to create pivot table Bruno[_3_] Excel Programming 0 August 3rd 04 06:47 PM
Automatically runing a macro Peter Longstaff Excel Programming 4 August 26th 03 09:08 PM


All times are GMT +1. The time now is 10:53 AM.

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

About Us

"It's about Microsoft Excel"