H
hometeamjill
Hi there,
I am a medical transcriptionist with very little programming experience, but
have written a series of macros to copy/paste reports into my client's
Word-based document. Unfortunately, although I've written some steps into
the macro which would make it difficult to paste one patient's report into
the wrong patient's demographics, it has still happened.
When part 1 of the macro runs, this is how the patient info lines look:
Correct:
32460 reagan xr chest (obtained from demographics in client's header)
32460 reagan xr chest (from our typed report)
Incorrect:
32460 reagan xr chest
42460 reagan xr chest
As you can see, in the Incorrect sample, the numbers don't match. From what
I've gathered so far, I need to insert the two patient info lines into a
table and have the program abort if the A1 cell of the table doesn't match
the A2 cell. I would like it to print out "ABORT" if it doesn't match and
just continue as normal if it does.
I would really appreciate any help I can get.
Thanks a lot!
I am a medical transcriptionist with very little programming experience, but
have written a series of macros to copy/paste reports into my client's
Word-based document. Unfortunately, although I've written some steps into
the macro which would make it difficult to paste one patient's report into
the wrong patient's demographics, it has still happened.
When part 1 of the macro runs, this is how the patient info lines look:
Correct:
32460 reagan xr chest (obtained from demographics in client's header)
32460 reagan xr chest (from our typed report)
Incorrect:
32460 reagan xr chest
42460 reagan xr chest
As you can see, in the Incorrect sample, the numbers don't match. From what
I've gathered so far, I need to insert the two patient info lines into a
table and have the program abort if the A1 cell of the table doesn't match
the A2 cell. I would like it to print out "ABORT" if it doesn't match and
just continue as normal if it does.
I would really appreciate any help I can get.
Thanks a lot!