+ Reply to Thread
Results 1 to 11 of 11

Copying and Pasting Formated columns and Rows

  1. #1
    Registered User
    Join Date
    07-10-2014
    Location
    NYC
    MS-Off Ver
    2011
    Posts
    5

    Copying and Pasting Formated columns and Rows

    So, I have a document 25 pages long. It has 26 sections (1-26) and each section has up to 10 (.1 - .10) sub sections which contain 16 (a-p) sub-sub-sections. There are 6 columns of varying widths. Some cells, in a row, merge into adjacent cells.

    I would like to break this document into 26 documents - one for each section - so that I may recombine and regroup them in the future incorporating a few modifications. Whenever I copy and paste to a new Workbook, I loose the formatting of column widths. Resetting these alone takes lots of time.

    The only solution I have come up with is to duplicate the entire document and delete everything above and below the section I would like to save. Then repeat for next section. There's got to be a better way?

    Any help?



    Frankie

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Copying and Pasting Formated columns and Rows

    If you copy the whole column instead of just the cells, Excel will also copy the column width.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  3. #3
    Registered User
    Join Date
    07-10-2014
    Location
    NYC
    MS-Off Ver
    2011
    Posts
    5

    Re: Copying and Pasting Formated columns and Rows

    Tried it with all columns, individually, and column width was not applied. Very frustrating.

    F

  4. #4
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Copying and Pasting Formated columns and Rows

    Did you try it this way:
    - Right-click on the header of the column you want to copy
    - In the pop-up menu select Copy
    - Go to the destination
    - Right-click on the header of the column to the left of where you want the copied to go
    - In the pop-up menu select Insert Copied Cells

  5. #5
    Registered User
    Join Date
    07-10-2014
    Location
    NYC
    MS-Off Ver
    2011
    Posts
    5

    Re: Copying and Pasting Formated columns and Rows

    I did not because that method would copy the entire column. Instead, I would like to copy only a portion of columns A - F, say rows 379 - 463.

  6. #6
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Copying and Pasting Formated columns and Rows

    Aha. In that case you are not copying columns, but (a collection of) cells. And cells don't have a width; only columns have.
    What you can do is - after you copied the cells - select the entire worksheet where the cells came from (click on the square at the left top of the worksheet) and copy the format.
    Then - at the destination worksheet - click on the left top square of that sheet.
    That will copy the formatting properties of the all rows columns (incl width).

    BTW you can also do this with just columns instead of the whole sheet.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Copying and Pasting Formated columns and Rows

    You can do this in 2 steps.

    Copy the data you want to copy, go to where you want to paste, then...
    1. click the Paste down arrow and select Paste Special. Check Column Widths. Click OK
    2. Paste as normal (ctrl V)

    @ Tsjallie, that may not be a practical option if the destination sheets already contains its own formatting
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Copying and Pasting Formated columns and Rows

    @Ford. Never to old to learn

  9. #9
    Registered User
    Join Date
    07-10-2014
    Location
    NYC
    MS-Off Ver
    2011
    Posts
    5

    Re: Copying and Pasting Formated columns and Rows

    Explanation makes perfect sense.
    Execution - notsomuch.

    If I click on the top left corner I get the entire document highlighted. This gets copied and pasted to new workbook. Easier to simply make a copy by doing Save As…

    I think I'm not copying the Format, but rather copying the entire document. How do I copy just the format?

  10. #10
    Registered User
    Join Date
    07-10-2014
    Location
    NYC
    MS-Off Ver
    2011
    Posts
    5

    Re: Copying and Pasting Formated columns and Rows

    FDibbins -

    Brilliant! Been struggling this for weeks and didn't see the 2-part solution. Thank you. Everyone in the office will be quite impressed when I demonstrate this tomorrow!

    Thanks again.

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Copying and Pasting Formated columns and Rows

    Glad it worked for you. TRhanks for the kind words and the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Pasting Data in Excel and have it automatically formated in a chart.
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-05-2013, 07:15 PM
  2. Replies: 3
    Last Post: 06-25-2013, 10:27 AM
  3. VBA: Copying and pasting a given column every 3 columns
    By vozas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-19-2011, 10:34 AM
  4. Copying Columns and Pasting in New Sheet
    By Topdrop18 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-01-2010, 11:34 AM
  5. Copying/Pasting Rows/Columns based on content
    By Lmsloman in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-19-2006, 07:28 PM

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