A
Aaron
Hello,
I am taking raw output and formatting it to match our
proposals. I have it configured to add the borders,
graphic, headers, footers etc. via record macros.
I do not have issues with program flow, I am able to test
a character via if selection.text <> " " then msgbox kind
of thing and can get it to tell me true false.
What I don't know how to do is search each line at col
28, check for a value, if it has a value to move to the
begining of the line above, run a format macro, then
return to searching until it hits the end... Again at
the end I will need to test for a string to ensure that
it is the end, not just one char in that col.
if col28 <> " " and col 26 to 30 <> "five" then
call sub formatline()
else
next line
end if
That is the jist of what I am trying to do... any
pointers?
Thank you,
Aaron
I am taking raw output and formatting it to match our
proposals. I have it configured to add the borders,
graphic, headers, footers etc. via record macros.
I do not have issues with program flow, I am able to test
a character via if selection.text <> " " then msgbox kind
of thing and can get it to tell me true false.
What I don't know how to do is search each line at col
28, check for a value, if it has a value to move to the
begining of the line above, run a format macro, then
return to searching until it hits the end... Again at
the end I will need to test for a string to ensure that
it is the end, not just one char in that col.
if col28 <> " " and col 26 to 30 <> "five" then
call sub formatline()
else
next line
end if
That is the jist of what I am trying to do... any
pointers?
Thank you,
Aaron