Bub_the_Zombie
Board Regular
- Joined
- Nov 1, 2016
- Messages
- 53
I have been looking at lots of the other forum questions on this topic and I am just not sure how to apply it to my code, can someone please help me with this. Below in the php tag is the long explanation, last time I posted I neglected a detail that caused some confusion, I do not think this needs it but I am including it.
What I need to do is to take the rows and data from the two social workers and copy / paste them onto worksheet two.
This will be part of a very long code, here are the parameters I am using
Dim WS As Worksheet
Set WS = Sheets("Patient Board")
Set WS2 = Sheets("Patient Board 2")
RANGE A50:AC100
Sorted by social worker in column J (starting at J50)
I need to take all the "HEATHER" and "TOM" rows from PATIENT BOARD 1 A50:AC100, paste them in PATIENT BOARD 2 A50:AC100.
Thanks!
What I need to do is to take the rows and data from the two social workers and copy / paste them onto worksheet two.
This will be part of a very long code, here are the parameters I am using
Dim WS As Worksheet
Set WS = Sheets("Patient Board")
Set WS2 = Sheets("Patient Board 2")
RANGE A50:AC100
Sorted by social worker in column J (starting at J50)
I need to take all the "HEATHER" and "TOM" rows from PATIENT BOARD 1 A50:AC100, paste them in PATIENT BOARD 2 A50:AC100.
Thanks!
PHP:
Long explanation in here to save space
This will be used on two monitors to act as digital patient boards to assist four social workers in a psychiatric hospital. Currently the code I wrote works great on one monitor; it takes all the patients, separates the rows by social worker, adds a space in-between the different social workers, color codes by social worker, writes if the patient is either "in" or "out", provides them with all the data they need for the patient, plus has a few more bells and whistles.
The problem is because of monitor space it needs to be broken into two worksheets, monitor one displays one worksheet with two social workers, the second monitor displays the other worksheet and last two social workers. A simple cut and paste will not work because of the formulas written in column "d".