I need to write couple of macros to do the following.
1. count the number of | in 1st line of file and somehow let me know the total (display window?)
2. search remainder of document for lines with more than the total returned in step 1.
currently I count by hand and then use a macro searching for
with *| being used for each | I need to find.
Some of the files have a large number of | though and manual counting is prone to error.
so far my few skill have proved unable to create a macro that will count a character in a single line
I know I can run a search for whole file and get it to "count all"... but how do i specify for a single line? unless something like
Thanks in advance
Version of UE is 11.10a
1. count the number of | in 1st line of file and somehow let me know the total (display window?)
2. search remainder of document for lines with more than the total returned in step 1.
currently I count by hand and then use a macro searching for
Code: Select all
*|*|*|......
Some of the files have a large number of | though and manual counting is prone to error.
so far my few skill have proved unable to create a macro that will count a character in a single line
I know I can run a search for whole file and get it to "count all"... but how do i specify for a single line? unless something like
Code: Select all
Loop
while EOL = false
Find "|"
End Loop
Version of UE is 11.10a