ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Recording find Maros (https://www.excelbanter.com/new-users-excel/174200-recording-find-maros.html)

gwtechie72

Recording find Maros
 
I am having problems running a Record macro. I use use the command to find a
specific person. Copy the specfic data and paste it into a different
worksheet. Once the record macro is saved. I close out of Excel saving the
marco, and open an different file, once I run the macro I get a run time
error 91 and asks me to end or debug. I am not 100% familar with writing the
macro. Can anyone help??


Don Guillett

Recording find Maros
 
As ALWAYS, post your macro for comments. I suspect that it is referring to
the original workbook. If you want to use for ANY workbook change the
reference to something like
activeworkbook.range("a1").copy

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"gwtechie72" wrote in message
...
I am having problems running a Record macro. I use use the command to find
a
specific person. Copy the specfic data and paste it into a different
worksheet. Once the record macro is saved. I close out of Excel saving the
marco, and open an different file, once I run the macro I get a run time
error 91 and asks me to end or debug. I am not 100% familar with writing
the
macro. Can anyone help??




All times are GMT +1. The time now is 04:56 AM.

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