rows.count.endxlup.copy

  1. I

    Code to copy certain columns to new sheet

    Hello, I have a workbook that copy's 'relevant' columns from one sheet to the next (sheet1 to sheet2). I used the code below to accomplish this. With Worksheets("Sheet1") .Range("B1", .Range("B" & Rows.Count).End(xlUp)).Copy Worksheets("Sheet2").Range("A1") .Range("E1", .Range("E" &...
  2. I

    Simple VBA code to copy from one sheet and paste in another

    Hello, I'm trying to run this code to filter data from one sheet to another. It does nothing when I run the code. I'm wondering if it has something to do with missing code to activate the workbook or worksheet. Please let me know if you see an error or a better way to do this. Private Sub...
  3. C

    If cell is equals value copy another cell

    I hope you can help me! I am struggling to get this function to work. I have a spreadsheet with X's on, as if they were ticks. Basically I need to copy cell A if F = x. Dim lRow As Long 'Determine the last Row. lRow = shTarget.Cells.Find("*", LookIn:=xlValues...
  4. A

    Copy data from one worksheet to another. "Run-time error' 1004"

    Hi I am trying to copy data from three columns and paste to another sheet in same workbook. Keep getting a "Run-time error' 1004" Not sure why this is happening. Note: i am pasting into a table. Thanks Rick Sub AmazonData() With ActiveWorkbook Sheets("Amazon").Range("D2", Range("D" &...

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