Hello dear,
I have a file which is used to set the appointments for OPD, and each patient should have a phone number in his data, but sometimes he don't have it and I get the number in the next session, at the next session we already have patient data without phone number and I have to add it to patient's data.
in the attached file, in the sheet "Main" I enter daily data and after that move it to sheet "SchT" by macro assigned to truck icon
I added column to know if the patient had phone number or no (sheet "Main" >>> column "N"), if he hadn't (or maybe the number was changed), I have to enter it and save it in the sheet "LineList" >>> column "H".
that means if the patient had a number it will be shown in column "N", if he didn't or he changed it I will enter it in the next column (sheet "Main" >>> "O")
what I need is a way to save the phone numbers in sheet "Main" >>> "O" into the sheet "LineList"
I need a macro that take the patient code if he has phone number in "Main" >>> "O", after that search for the patient code in the sheet "LineList" and save the phone number in column "H" aligned the patient code.
many thanks
I have a file which is used to set the appointments for OPD, and each patient should have a phone number in his data, but sometimes he don't have it and I get the number in the next session, at the next session we already have patient data without phone number and I have to add it to patient's data.
in the attached file, in the sheet "Main" I enter daily data and after that move it to sheet "SchT" by macro assigned to truck icon
I added column to know if the patient had phone number or no (sheet "Main" >>> column "N"), if he hadn't (or maybe the number was changed), I have to enter it and save it in the sheet "LineList" >>> column "H".
that means if the patient had a number it will be shown in column "N", if he didn't or he changed it I will enter it in the next column (sheet "Main" >>> "O")
what I need is a way to save the phone numbers in sheet "Main" >>> "O" into the sheet "LineList"
I need a macro that take the patient code if he has phone number in "Main" >>> "O", after that search for the patient code in the sheet "LineList" and save the phone number in column "H" aligned the patient code.
many thanks