Hi Guys,
First time poster here - thanks for having me.
I have searched a few forums and watched some video tutorials but sadly this just isnt "clicking" in my head. I wondered if one of you could assist me please.
Requirements:
I have 2 Workbooks - WB1 and WB2, WB1 sends data to WB2, currently i have no checks for previous data loads so i can duplicate data if im not vigilant.
WB1 - is a master file that pulls data from various sources and then uploads to WB2.
WB1 Column i need to compare is the date column in Sheet "Data" in Column A to see if the days data has already been loaded.
The location of WB2 is referenced in Cell B2 on a sheet called "File" in WB1. ( C:\Users\ST20329\Desktop\Test Book 2.xlsx )
WB2 receives the data on Sheet "Data" with the date still being in Column A ( data layout does not change between the books)
I need to know how to right a code that opens WB2 from the referenced location, then compares Column A of both Books Data sheets to see if Date X is already present.
If the date is present i need a pop up box that states "Data Loaded Stop" else continue with the upload macro.
I should note i already have a Macro on WB 1 that sends the data to WB2, so i need this find/compare feature to be an IF so it can continue with macro if data not found.
I'm hoping ive given enough information but please let me know if you require anything else.
Thanks in advance for all and any assistance
Steve
First time poster here - thanks for having me.
I have searched a few forums and watched some video tutorials but sadly this just isnt "clicking" in my head. I wondered if one of you could assist me please.
Requirements:
I have 2 Workbooks - WB1 and WB2, WB1 sends data to WB2, currently i have no checks for previous data loads so i can duplicate data if im not vigilant.
WB1 - is a master file that pulls data from various sources and then uploads to WB2.
WB1 Column i need to compare is the date column in Sheet "Data" in Column A to see if the days data has already been loaded.
The location of WB2 is referenced in Cell B2 on a sheet called "File" in WB1. ( C:\Users\ST20329\Desktop\Test Book 2.xlsx )
WB2 receives the data on Sheet "Data" with the date still being in Column A ( data layout does not change between the books)
I need to know how to right a code that opens WB2 from the referenced location, then compares Column A of both Books Data sheets to see if Date X is already present.
If the date is present i need a pop up box that states "Data Loaded Stop" else continue with the upload macro.
I should note i already have a Macro on WB 1 that sends the data to WB2, so i need this find/compare feature to be an IF so it can continue with macro if data not found.
I'm hoping ive given enough information but please let me know if you require anything else.
Thanks in advance for all and any assistance
Steve