B
Brad
I'm very new VBA and was given the task to get rid of timestamps in our log
files.
I would like to do that in word with a macro...basically our log file looks
like:
@Open File
03:15:45 6/6/05
......
@Close File
03:15:47 6/6/05
The logic to my macro is:
1) Find the @ symbol
2) Go down 1 line
3) Delete that line if the line starts with a "0" or "1"
4) Look for the next @ symbol and repeat
I was using WordBasic.EditClear statements since they are used in other
macros in the template but this is different from all the other existing
macros which brings into play new coding and problems for a beginner.
Thanks for any help!
files.
I would like to do that in word with a macro...basically our log file looks
like:
@Open File
03:15:45 6/6/05
......
@Close File
03:15:47 6/6/05
The logic to my macro is:
1) Find the @ symbol
2) Go down 1 line
3) Delete that line if the line starts with a "0" or "1"
4) Look for the next @ symbol and repeat
I was using WordBasic.EditClear statements since they are used in other
macros in the template but this is different from all the other existing
macros which brings into play new coding and problems for a beginner.
Thanks for any help!