Edit #2: The latest macro is in my second post. Running this macro adds the names to "this.xlsm" but not properly. Additionally, it doesn't state who's working or not (by placing a "W" in the time/date and person name intersection).
I attached two sample workbooks stripped of private information (and, the macro is in "this.xlsm").
Here is the (functional but incomplete) macro I currently have in "this.xlsm" listed here for your convenience.:
Could someone please show me how to extract a person's name (the data in the K column of "other.xlsm"), place it horizontally to the right of "Loto Quebec" in "this.xlsm" if the column E of "other.xlsm" says "LQ" and if it says anything else to place it to the right of "S&P" (by shifting everything in that row as of the column where the new person is going to be added) and then put a W at every intersection in "this.xlsm" of the date and time the particular person is working at. Put differently, a W should be placed everywhere that is within either the [Reg start, Reg end] (columns L and M of "other.xlsm") or [Inst start, Inst end] (columns T and U of "other.xlsm") interval (or both).![]()
Please Login or Register to view this content.
If more information is needed, tell me and I will give it to you.
Any input would be greatly appreciated!
Edit #1: You should run the macro once to notice what it does and understand what this thread is about.
Bookmarks