I have a spreadsheet with patient information. The sheet stores room number/bed in column 1, patient name in column 2, if they are currently in the building in column 3, and patient information in column number 4. This sheet has information stored for 60 beds.
I want to be able to make a macro that will swap the data between two different beds.
For example,
103B John Doe Outside the Facility Requires Fall Alarms
127B Henry Smith Blank Space Requires Isolation for Flu
I want the macro to swap the data in the two selected ranges, but leaving the room numbers alone.
103B Henry Smith Blank Space Requires Isolation for Flu
127B John Doe Outside the Facility Requires Fall Alarms
I want to be able to select the ranges without the ranges being hard coded into the swap macro, because I won't know which patients will require moving. My preference would be a pop up dialog to request me to select each of the 2 ranges, but I am fine with anything that will get the job done. I know how to swab 2 selected cells, but I am stumped how to approach this one.
I want to be able to make a macro that will swap the data between two different beds.
For example,
103B John Doe Outside the Facility Requires Fall Alarms
127B Henry Smith Blank Space Requires Isolation for Flu
I want the macro to swap the data in the two selected ranges, but leaving the room numbers alone.
103B Henry Smith Blank Space Requires Isolation for Flu
127B John Doe Outside the Facility Requires Fall Alarms
I want to be able to select the ranges without the ranges being hard coded into the swap macro, because I won't know which patients will require moving. My preference would be a pop up dialog to request me to select each of the 2 ranges, but I am fine with anything that will get the job done. I know how to swab 2 selected cells, but I am stumped how to approach this one.