Copy paste between 2 worksheets VBA

Studenttt

New Member
Joined
Mar 7, 2012
Messages
34
Hello All !

I have two sheets. In S1(Sheet1), Cells B4 to AW4 are dates (first day of the month in format mmm-yy), This is a ROW(Row4 in excel). Cells A5 to A140 is exactly the same stuff but this is a column(Column A in excel). In S2, i have 2 columns. Column A is with dates in the same format as in S1, and column B in S2 is some random data.

I want help in a macro that checks the value(a date) of the first cell in S2, (i.e cell A1), copies the entire column B , goes to S1 finds the "INTERSECTING CELL" and pastes the data.

What is the intersecting cell ? It is the cell in S1 with same date in row 4 as in column A. These two dates and the date of Cell A1 in S2 will be same.
 

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.
Hello All !

There are no more Cross-Posts. I intend to mark posts with "SOLVED" or "finished" once someone comes up with a solution so that nobody's time gets wasted. Nevertheless, thanks for the information regarding your rules. This post will be cross posted in other forums.

br,
 
Upvote 0

Forum statistics

Threads
1,211,853
Messages
6,104,371
Members
447,902
Latest member
chriswebs23

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