+ Reply to Thread
Results 1 to 4 of 4

Copy cell contents and formatting

  1. #1
    Registered User
    Join Date
    10-10-2007
    Posts
    7

    Copy cell contents and formatting

    Hi Everyone

    I am currently using the following formula to copy the contents of a cell, even if the cell is blank, to another cell.

    =IF(A1="","",A1)

    The question is... if the original cell changes from normal to bold how do you get the new cell to copy the formatting as well?

    Thanks

  2. #2
    Registered User
    Join Date
    10-10-2007
    Posts
    7

    Cpoying cell formatting and contents

    Hi Everyone

    I think I posted this in the wrong forum ... sorry.
    Hope this is in the right one.

    I am currently using the following formula to copy the contents of a cell, even if the cell is blank, to another cell.

    =IF(A1="","",A1)

    The question is... if the original cell changes from normal to bold how do you get the new cell to copy the formatting as well?

    Thanks

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    this would require VBA
    Please Login or Register  to view this content.
    This code belongs in the worksheet module
    Right click on the sheet tab at the bottom of the screen, select view codes, paste the code in that window
    Now whenever A1 changes the code kicks in

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    Check other post

+ 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