+ Reply to Thread
Results 1 to 3 of 3

how to avoid copying the data that are formatted

  1. #1
    Registered User
    Join Date
    01-27-2009
    Location
    Australia
    MS-Off Ver
    Excel 2002, 2010
    Posts
    42

    how to avoid copying the data that are formatted

    Hi all,

    I am using MS EXCEL 2002.
    I have written a very simple script to help me copy some specific data from Sheet1 to Sheet2, using this script:
    Please Login or Register  to view this content.
    but I found that the code will also copy the format of the row of data from sheet1 to sheet2,
    for example, if row 1 in sheet1 is highlighted in yellow, that the pasted data in sheet 2 will also be highlighted in yellow.

    Is there any way to avoid copying the Format and the style?

    Please help if you could.

    Thank you

    Kitty

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: how to avoid copying the data that are formatted

    try:

    Please Login or Register  to view this content.
    This should paste values & formulas, but not formats.
    Gary's Student

  3. #3
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: how to avoid copying the data that are formatted

    Or:
    Please Login or Register  to view this content.
    Or:
    Please Login or Register  to view this content.
    Kind regards, Harry.

+ 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