find a value in two w/book sheets for value exists or not - vba code

Status
Not open for further replies.

tkraju

Board Regular
Joined
Apr 1, 2009
Messages
79
Office Version
  1. 2016
Platform
  1. Windows
Please refer above thread I posted few days back. I tested answers received from various excel experts, but I could not get desired results. One recent answer from igold I tested its working partly.
.Thank you igold.As per your message Is this what you are looking for. This code should be run from the TKR.xlsx workbook.in your new code referring (Find Date) macro ,I had done some changes > Changed Str folder ,Str file names> . I tested your code. My first requirement is not accomplishing. Your code is not checking A2 date(in my string file named “niftycsv” with Column B values of wbT (w/b DateCheck). Second part of my requirement is executing partly, total file is copying and pasting in last row of my wbT.Second part of your code is working > it is copying total sheet of “niftycsv”sheet data > but I don’t need header row data > only data below of header row has to be copied and pasted in wbT. Please change your code as per my requirement. 1.first check my niftycsv range(“A2”) date exists in column B of wbT.> if exists give message “Date already Exists” 2.If date does not exists in ColB of wbT then > copy niftycsv data excluding header row (from row2 to last row) and paste them in last row of wbT.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Duplicate to: find a value in two w/book sheets for value exists or not - vba code

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread. If you do not receive a response, you can "bump" it by replying to it yourself, though we advise you to wait 24 hours before doing so, and not to bump a thread more than once a day.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,215,201
Messages
6,123,617
Members
449,109
Latest member
Sebas8956

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top