Thread: Checking Gender
View Single Post
 
Old 07-06-2014, 06:29 AM
Sharath_MS_Forums Sharath_MS_Forums is offline Windows 7 32bit Office 2007
Novice
 
Join Date: Jul 2014
Location: India
Posts: 14
Sharath_MS_Forums is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
If you want to check male & female as well, you'll need to add those expressions to the code. For example, instead of:
StrGen = "<[Hh][Ee]> <[Hh][Ii][MmSs]> <[Hh][Ii][Mm][Ss][Ee][Ll][Ff]>|" & _
"<[Ss][Hh][Ee]> <[Hh][Ee][Rr]> <[Hh][Ee][Rr][Ss]> <[Hh][Ee][Rr][Ss][Ee][Ll][Ff]>"
use:
StrGen = "<[Mm][Aa][Ll][Ee]> <[Hh][Ee]> <[Hh][Ii][MmSs]> <[Hh][Ii][Mm][Ss][Ee][Ll][Ff]>|" & _
"<[Ff][Ee][Mm][Aa][Ll][Ee]> <[Ss][Hh][Ee]> <[Hh][Ee][Rr]> <[Hh][Ee][Rr][Ss]> <[Hh][Ee][Rr][Ss][Ee][Ll][Ff]>"
You can keep adding similar expressions, for man & woman, boy & girl, etc. the same way. Encoding the expresions as I have done means they can be found regardless of what combination of uppercase & lowercase letters they use.

As for buttons, please read what I wrote in post #2. You can't simply add buttons to a macro.

Of course, if you used gender-neutral terms (e.g. patient, client, person), this wouldn't be an issue.
Thanks a lot.

I have another situation to explain you. I am using Escription software called as EditScript. In this software, when I download a file, Voice File as well as Word Document filled with Speech-recognized text will be downloaded and on the top a form (embedded within the word) will be there with all the patient-related information like patient date of birth, name, gender, etc, which I have to edit and upload.

So, here, could you please let me know if there is an option automatically to check for the date of birth in "mm/dd/yyyy" format in the form field and check the age in the text below; like if the patient is a 35-year-old Caucasian male, etc....so, here 35 should be checked and if it is wrong should be highlighted, so that the transcriber can correct it and remove highlighting manually.

Thanks in advance.
Sharath
Reply With Quote