Data from another worksheet

ragshyd

New Member
Joined
Mar 31, 2009
Messages
25
Hi,

I have some data in worksheet2, which will be updated frequently. I want to get the field values in the column B automatically in to the next week sheet under column A.

Can some one help me with a Macro for this?

Regards,
Raghu
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
You'll need to post some more details. Ideally, post a shot of what you have now and the results you want.
 
Upvote 0
Hi Smitty,

Thanks for the swift response and sorry for not providing all the details:)

Here is what I need.

I have worksheet 1, which will be updated with some user details. The usernames are updated in Column B (sometimes I may have only 10, and some times 100 also).

The moment it is updated, I need the data from column B copied into Worksheet 2 in column A. I am okay if it overwrites the data.

Hope this clarifies.

Thanks again!

Regards,
Raghu
 
Upvote 0
This should work.
Sub copypaste ()
Code:
ActiveWorkbook.Worksheets("First Sheet").Activate

Columns("B:B").Select
Selection.Copy

ActiveWorkbook.Worksheets("SecondSheet").Activate

Columns("A:A").Select
Selection.PasteSpecial Paste:=xlPasteValues

End Sub
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,673
Members
452,937
Latest member
Bhg1984

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