AussieSteve
New Member
- Joined
- Dec 28, 2017
- Messages
- 18
- Office Version
- 365
- Platform
- Windows
Hi Everyone.
So far my macro does all that I want except an error at the end of the macro ,which is my lack of understanding of how to end the macro when it's finished. The error is run time 1004. What the macro does is search for a piece of Txt using Find, it then cuts the data pastes it into another column and runs through the rest of the column doing the same thing. The part that causes the error is when excel continues to apply the Find to the first cut and paste, and that data is about to cut pasted but it can not go on at that point. Yes I know it needs an Exit from the Do Loop but I do not know how to get excel to stop the final search.
Thanks for any help on this situation.
So far my macro does all that I want except an error at the end of the macro ,which is my lack of understanding of how to end the macro when it's finished. The error is run time 1004. What the macro does is search for a piece of Txt using Find, it then cuts the data pastes it into another column and runs through the rest of the column doing the same thing. The part that causes the error is when excel continues to apply the Find to the first cut and paste, and that data is about to cut pasted but it can not go on at that point. Yes I know it needs an Exit from the Do Loop but I do not know how to get excel to stop the final search.
Thanks for any help on this situation.