I'm trying to call a code from "VBA Code Runner - Excel Forum" wb......but it doesn't seem to be working.
Note: I am very new to VBA so please provide a detailed explanation so I can adequately apply to my other wbs....thank you!
In "Coaching Report - Dest - Excel Forum.xlsm" wb, "Mission Control" ws, cell "B3", there is a conditional value......in this case "Kendal Gholston".
If in "Coaching Report - Copy - Excel Forum.xlsm" wb, "Full Append" ws, column "D" = "Kendal Gholston" (B3 of "Mission Control"), then I would like to copy those rows and paste/replace into "Coaching Report - Dest - Excel Forum.xlsm" wb, "Mission Control" ws, column "BI" (ignoring header).
Re: VBA conditional copy and paste into another WB
Hi JyothiGrace,
Your problem looks like it needs a Power Query answer instead of VBA. You could use PQ and filter a File to only show the Names of "Kendal".
On your specific problem it looks like you are looking for Kendal in the Supervisor column while it is really in the Name column. If you are close to writing the VBA to do your filter something like Name<>Supervisor is hard to find when your code is doing many other things.
I hope this helps.
One test is worth a thousand opinions. Click the * Add Reputation below to say thanks.
Re: VBA conditional copy and paste into another WB
I changed my code to just copy ALL data and replace in Dest Sheet but still getting "Application-defined or object-defined" error. Please see attached again to ID my error....
Bookmarks