+ Reply to Thread
Results 1 to 4 of 4

Cut Cell, PasteSpecial to another sheet Help

  1. #1
    Registered User
    Join Date
    02-10-2012
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    8

    Cut Cell, PasteSpecial to another sheet Help

    I am extremely new at this and I'm really bad at it so far. I need to macro to cut a cell ("C7") and PasteSpecial it to cell ("A300") on sheet ("Engineering Backlog"). I know it's simple and I've tried many examples but I cannot get the pastespecial to work correctly.

    Right now, this is all I have for this macro:

    Range("C7").Select
    Selection.Cut
    Selection.PasteSpecial Paste=xlPasteValues
    ActiveSheet("Engineering Backlog").Range ("A300")

    Don't know if it matters or not but I'm using Excel 2003.

    Humbly, I thank you for the help!

    Dave
    Last edited by dpalm; 02-13-2012 at 03:27 PM.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Cut Cell, PasteSpecial to another sheet Help

    Hi,

    Excel doesn't allow you to Cut and Paste Special so you would need to Copy, Paste Special and then clear the cell.

    Please Login or Register  to view this content.
    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Forum Contributor
    Join Date
    02-07-2012
    Location
    MIA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    429

    Re: Cut Cell, PasteSpecial to another sheet Help

    If all you want is values, why not using simply an = statement:

    Please Login or Register  to view this content.
    The problem is it won't delete what was in cell C7, if that's what you wanted you will have to add

    Please Login or Register  to view this content.
    after it.

    By the way, the problem you might be having is that you shouldn't put
    Please Login or Register  to view this content.
    ,but
    Please Login or Register  to view this content.
    .

    Also keep in mind that you aren't using the cut paste correctly. It should be something like:

    Please Login or Register  to view this content.
    Finally, don't forget the Sub End Sub commands before and after your code, like:

    Please Login or Register  to view this content.
    Last edited by Pichingualas; 02-10-2012 at 12:25 PM.

  4. #4
    Registered User
    Join Date
    02-10-2012
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Cut Cell, PasteSpecial to another sheet Help

    Thanks to you both! It's doing exactly what I want.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1