Hello,
I would like to create a macro to save time. I receive data which I then have to process in excel.
Right now, I need help with copying and pasting the data into new excel files automatically.
The data I receive is always like this:
--Start test--
45
34
23
454
232
--End Test--
--Start test--
99
33
22
--End Test--
So in this example, I received a file which had two tests in it that means two different files should be created. So I need to copy everything in between start test and end test. And then paste it into a new excel file.
So I want macro to find the words "Start Test",copy the data below it until "End Test" is reached. This data will then be paste into a new file. Then the macro should look for test 2 data by finding again the "Start Test" ,copy everything in between until "end test" is reached and then paste the data in a another new file.
Any links or any type of help will be appreciated.
I would like to create a macro to save time. I receive data which I then have to process in excel.
Right now, I need help with copying and pasting the data into new excel files automatically.
The data I receive is always like this:
--Start test--
45
34
23
454
232
--End Test--
--Start test--
99
33
22
--End Test--
So in this example, I received a file which had two tests in it that means two different files should be created. So I need to copy everything in between start test and end test. And then paste it into a new excel file.
So I want macro to find the words "Start Test",copy the data below it until "End Test" is reached. This data will then be paste into a new file. Then the macro should look for test 2 data by finding again the "Start Test" ,copy everything in between until "end test" is reached and then paste the data in a another new file.
Any links or any type of help will be appreciated.