+ Reply to Thread
Results 1 to 3 of 3

Paste while maintaining cell spacing/blanks/location

  1. #1
    Registered User
    Join Date
    06-14-2006
    Posts
    13

    Paste while maintaining cell spacing/blanks/location

    Hey everyone,

    Let's say I have a worksheet that has the number 1 to 10 in cells A1:A10. I copy the numbers 1, 2, 9 and 10 and want to paste them into row B while maintaining the spacing in between the selected cells and not have Excel bunch them all together consecutively - how can I do this?

    The above is not the actual data I'm working with so it's not a case of single copy-pastes, filling or manual entry. I need to be able to select a disjointed group of cells and when pasted, have them land in the same cell locations but on the new sheet. Basically it's updating a local sheet onto an identical live sheet. The live sheet cannot be copied over or replaced.

    This problem has always annoyed me, is there a way around it?

    Thanks!
    Last edited by fynn; 07-07-2008 at 06:35 AM.

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650
    Hi,Flynn
    Try this.
    Select yout disjointed range (Single column only) in the "InputBox", click OK . The Selection Values are inserted in another sheet with the original spacings.
    The Inserted values will be in the same column as original selection.
    NB:- Alter the Sheet Number in the last line of code to suit you.
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650
    Hi,Flynn .
    It appears I have not altered the "InputBox" Text in the code ,to suit the code function.
    Ignore the Text instruction and select your Disjointed cells as previously stated.
    Please amend the code text to suit as required.
    Regards Mick

+ 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