Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 127
Default Run Time Error 1004

Hi Experts:

I am trying to sent a Workbook with Macros in email to other team members.
I did a test to myself in email and when I try to open the file and use the
shortcut key to run the macro, I get the 1004 Run Time Error. If I save it
to my desktop, it will run as it should. Is there something I can do so that
it will run the macro when the workbook is opened from the email?
--
jeannie v
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Run Time Error 1004

Please post the code and maybe we can help.

"jeannie v" wrote:

Hi Experts:

I am trying to sent a Workbook with Macros in email to other team members.
I did a test to myself in email and when I try to open the file and use the
shortcut key to run the macro, I get the 1004 Run Time Error. If I save it
to my desktop, it will run as it should. Is there something I can do so that
it will run the macro when the workbook is opened from the email?
--
jeannie v

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 127
Default Run Time Error 1004

Hi Barb:

This is what is states:

Run-time error '1004':
'CPH.TPA.Marquez.MACRO TEMPLATE.xls' could not be found

However, if I move it to the Desktop, it will run correctly.

Thanks for your help,
--
jeannie v


"Barb Reinhardt" wrote:

Please post the code and maybe we can help.

"jeannie v" wrote:

Hi Experts:

I am trying to sent a Workbook with Macros in email to other team members.
I did a test to myself in email and when I try to open the file and use the
shortcut key to run the macro, I get the 1004 Run Time Error. If I save it
to my desktop, it will run as it should. Is there something I can do so that
it will run the macro when the workbook is opened from the email?
--
jeannie v

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Run Time Error 1004

Hi Jeannie

If you are mailing a report generated from the Template, the report will
be an XLS file and will not contain the Code that exists in the
Template.
It runs from your Desktop, because it can find the .XLT file on your
machine, and can thus execute the Code.

Are you mailing the XLT file or an XLS file?

--
Regards

Roger Govier


"jeannie v" wrote in message
...
Hi Barb:

This is what is states:

Run-time error '1004':
'CPH.TPA.Marquez.MACRO TEMPLATE.xls' could not be found

However, if I move it to the Desktop, it will run correctly.

Thanks for your help,
--
jeannie v


"Barb Reinhardt" wrote:

Please post the code and maybe we can help.

"jeannie v" wrote:

Hi Experts:

I am trying to sent a Workbook with Macros in email to other team
members.
I did a test to myself in email and when I try to open the file and
use the
shortcut key to run the macro, I get the 1004 Run Time Error. If I
save it
to my desktop, it will run as it should. Is there something I can
do so that
it will run the macro when the workbook is opened from the email?
--
jeannie v



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
run time error 1004 Louise Excel Discussion (Misc queries) 1 January 18th 07 11:11 PM
Run time error 1004 cinvic Excel Discussion (Misc queries) 8 February 21st 06 12:36 PM
run time error 1004 johnw Excel Discussion (Misc queries) 0 November 16th 05 11:56 AM
Run-time error '1004 shternm Excel Discussion (Misc queries) 7 October 3rd 05 07:38 PM
Run time error 1004, General ODBC error [email protected] New Users to Excel 0 September 19th 05 01:41 AM


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