Hello,
I'm trying to create a function called TextByColor using VBA. The purpose of this function is to read through one of my sheets called "JOB CODES" and the return all the cells with a white or yellow cell background to a sheet called "TV". The function should read through all of "JOB CODES", find all the rows with a white or yellow cell backround, and return all of those to the "TV" sheet. Also auto-updating in real time as "JOB CODES" is updated multiple times a day.
I've been trying to get this working all morning but don't have a lot of experience in VBA. I will attach a couple of screenshots of what my sheet looks like, and an example of what "TV" should look like once the function has been run.
My plan is to then use a separate system and PowerQuery to read the data from this file and display it on a TV in a separate room.
Thank you!!
I'm trying to create a function called TextByColor using VBA. The purpose of this function is to read through one of my sheets called "JOB CODES" and the return all the cells with a white or yellow cell background to a sheet called "TV". The function should read through all of "JOB CODES", find all the rows with a white or yellow cell backround, and return all of those to the "TV" sheet. Also auto-updating in real time as "JOB CODES" is updated multiple times a day.
I've been trying to get this working all morning but don't have a lot of experience in VBA. I will attach a couple of screenshots of what my sheet looks like, and an example of what "TV" should look like once the function has been run.
My plan is to then use a separate system and PowerQuery to read the data from this file and display it on a TV in a separate room.
Thank you!!