+ Reply to Thread
Results 1 to 9 of 9

Copy range using paste special

  1. #1
    Registered User
    Join Date
    06-07-2013
    Location
    Swindon England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Copy range using paste special

    Hi All, I am new user to this forum and have limited VBA knowledge so hopefully help is out there for me.

    I have created a code to copy data to a new sheet and clear the contents from selected cells but when this copies it takes across the formula and not the cells contents. Also, I can't seem to get the cells to move to the next available row in the new sheet.

    Attached is the spreadsheet and code.



    Thanks in adavance for any assistance given.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Copy range using paste special

    I did not understand what you want
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    06-07-2013
    Location
    Swindon England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Copy range using paste special

    Hi,

    Sorry I realise my explanation is not very clear.

    from teh scorecard sheet I can copy the following into the leaderboard sheet, players name (B4), Tee by type (B6) & Handicap (B8) these paste into cells A14, C14 & D14, I then want to copy across the net scores from B17:X17 & paste these into E14:AB14. The copy code works but takes across the formuala and not the value of the cell, I know this will need to a paste special but I can not seem to get this to work.

    The next step is get the players name, handicap and nett scores etc...to automaically enter the next available empty row on the leaderboard

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Copy range using paste special

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-07-2013
    Location
    Swindon England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Copy range using paste special

    Hi AB33,

    Thank you for the solution to the paste value issue, could you advise on how I can paste the next set of scores to the next available row on the leaderboard.

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Copy range using paste special

    Use this line to find the next empty cell in column B
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    06-07-2013
    Location
    Swindon England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Copy range using paste special

    Hi,

    Can this code be modified to find the next empty row in column A and then paste contents as above. I tried the code provided but this still copies into the range E14 etc...

  8. #8
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Copy range using paste special

    LEADERBOARD and Leaderboard are not the same sheet

    Please Login or Register  to view this content.

  9. #9
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Copy range using paste special

    If you want to copy in to next empty cell in column E
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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