vba paste special

  1. A

    PasteSpecial Range of Cells from one Workbook to Another in VBA

    Noob alert. I’ve been teaching myself VBA for approx. one month, so my code may conjure up images of a teenager's messy bedroom. Please excuse any and all rookie mistakes. I’m attempting to copy a list of data (#1) and paste values into two destinations, one in another sheet within the...
  2. R

    Paste Values with VBA

    The code below works fine to open another workbook, copy data, then paste into the original file. However, I need to paste only values. I have tried a couple different ways of doing it after the fact (ie after pasting data formulas and all), but nothing has worked and I would prefer to just...
  3. R

    PasteSpecial method of Range class failed

    I've been reading like posts on mrexcel.com for an hour - but still cannot fix my problem. I have what I think should be a pretty basic code to copy visible cells in one sheet, then paste values in the next sheet. I continue to get a run-time 1004 "PasteSpecial method of Range class failed"...
  4. H

    VBA Paste Special: Keep Source formatting (K)

    Hi, I am controlling 2 power-point files from excel VBA. Basically I want to copy and paste slides from one powerpoint file to another. but while pasting I want to use paste as Keep Source formatting (K) my current code is: For Each pptslide In pptpres.Slides pptpres.Slides(x).Copy...
  5. P

    VBA Paste Special with stored constant

    Using Excel 2000, WinXP. I want to write a macro that does a Paste Special Add or Subtract of a stored constant (1462) to a selected range of cells with dates in them. This is to convert between 1900 and 1904 date systems (i.e. Win Vs. Mac). Here's my simple effort (below). It doesn't work...

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