vba copy paste cell info

  1. K

    VBA Copy paste to different locations based on value

    Hi guys I hope anyone can help me with my excel problem. I want to create a “CopyPaste” VBA that based on a cell value it will paste in different areas. The “copyarea/copyrange” will always be the same (A11:B20). But based on the cell value in cell “A1” the pastearea/pasterange will change...
  2. M

    How to copy formula text ONLY from a cell then paste it into a cell in another workbook?

    Hi I'd like to copy the text of a formula in a cell, then paste that text into a cell in a different workbook, without the formula changing. I can't use 'copy' then paste special xl paste formulas, because the reference changes when the formula is pasted into the other workbook. What would...
  3. A

    Copy and Paste in VBA not working

    Afternoon all, Here's a piece of the code that I have: LstRow = Cells(1, 1).End(xlDown).Row Range("T2:T" & LstRow).Copy Range("G2:G" & LstRow).PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _ xlNone, skipblanks:=False, Transpose:=False Range("U2:U" &...
  4. H

    Copy/Paste Range Based on Cell Info

    I need to run a macro that looks at a cell to figure out how many rows down to copy. In other words, if the cell (a1) has "19" in it, then the selection b1:c<b>19</b> would be selected. I have the rest of the code figured out, thanks for your time!

Watch MrExcel Video

This Week's Hot Topics

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
Top