+ Reply to Thread
Results 1 to 3 of 3

Copy one cell to an other but colors do not copy. While not using clipboard to copy.

  1. #1
    Registered User
    Join Date
    09-18-2010
    Location
    Sunnyvale, CA
    MS-Off Ver
    Excel 2007
    Posts
    28

    Copy one cell to an other but colors do not copy. While not using clipboard to copy.

    I am trying to copy from one cell to an other using following code. But it does not copy the color of the cell with it.

    I do not want to use the clipboard copy and paste, so is the reason am using the following type of copying.

    Please Login or Register  to view this content.
    Last edited by chuckchuckit; 09-19-2010 at 03:21 AM.

  2. #2
    Registered User
    Join Date
    08-04-2010
    Location
    SLC, UT
    MS-Off Ver
    Excel 2003, 2007
    Posts
    31

    Re: Copy one cell to an other but colors do not copy. While not using clipboard to co

    The line of code you used will work like the paste values function. If you're wanting to copy formulas, formatting, etc., one approach would be to duplicate each feature you're wanting to copy; like this:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-18-2010
    Location
    Sunnyvale, CA
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Copy one cell to an other but colors do not copy. While not using clipboard to co

    I ended up doing something similar by preformatting the target col's and row's I knew the data was going to. So then only had to copy the value.

    Using the clipboard gathers all that data in one fell swoop. Like using the CTRL-C and CTRL-V. But the clipboard is open season for any other program to use it too and corrupt data before it is pasted (if there are any automated programs running on same comupter).

    So it seems that when not using the clipboard it is a bit more coding to do the same.

    Thanks for your assistance.

+ 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