Hey Everyone this is my seconds post, I'm rather new to VB. I've currently set up a work book macro that copy's information from one work sheet and pastes it in several other worksheets. It works fine but because I'm using copy and paste the screen flickers between every worksheet. So I'm trying to set the value from one cell equal to the value of onther. As a test I thought it would simply be
But when I run the above macro nothing happens. So I guess what im asking is whats the most efficient way to copy data from one sheet to the next?Sub Macro1() Worksheets("Sheet2").Cells(1, "B").Value = Worksheets("Sheet1").Cells(1, "A").Value End Sub
Thanks
Last edited by ashleys.nl; 09-13-2011 at 12:15 PM.
That is fine. That line sets the value of B1 on sheet2 to the value of A1 on sheet1.
You are correct, I was accidently setting the value of a blank cell to a blank cell. Thanks for your help
You could of course use a formula.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks