ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Can you code a macro so it runs multiple times in the same workboo (https://www.excelbanter.com/excel-discussion-misc-queries/83772-can-you-code-macro-so-runs-multiple-times-same-workboo.html)

dpmac

Can you code a macro so it runs multiple times in the same workboo
 
I need a macro that finds and replaces to repeat once it is run within the
same workbook, until it has found and replaced everything.

Peo Sjoblom

Can you code a macro so it runs multiple times in the same workboo
 
Why would you need to run it multiple times?


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



"dpmac" wrote in message
...
I need a macro that finds and replaces to repeat once it is run within the
same workbook, until it has found and replaced everything.




Bob Phillips

Can you code a macro so it runs multiple times in the same workboo
 
Take a look at Find and FindNext methods in VBA help, or even the Replace
method.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"dpmac" wrote in message
...
I need a macro that finds and replaces to repeat once it is run within the
same workbook, until it has found and replaced everything.





All times are GMT +1. The time now is 08:11 PM.

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