Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Carry Formatting

  1. #1
    New Member
    Join Date
    Mar 2002
    Location
    Midwest, USA
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I am using Vlookup to populate cells in one worksheet with 3 paragraphs from another.
    All is good after I copy the column and past special as values, except 1 thing.
    I lose the Bold Face format. Is there a way to retain the text format code?

    Thanks!!!

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    VLOOKUP returns only values, and not their formatting as it appears in the lookup table.

  3. #3
    MrExcel MVP Al Chara's Avatar
    Join Date
    Feb 2002
    Location
    Newark, Delaware
    Posts
    1,701
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Try the following code:

    With Selection
    .PasteSpecial Paste:=xlFormats
    .PasteSpecial Paste:=xlValues
    End With

    This code will paste the formats and values of whatever is on the clipboard, into the cells that are selected.
    Best regards,
    Allan Chara
    http://www.mrspreadsheets.com

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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