ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Run Time Error 1004 (https://www.excelbanter.com/excel-worksheet-functions/148108-run-time-error-1004-a.html)

jeannie v

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

Barb Reinhardt

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


jeannie v

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


Roger Govier

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





All times are GMT +1. The time now is 06:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com