+ Reply to Thread
Results 1 to 5 of 5

how to move cells down and keep conditional formatting

  1. #1
    Registered User
    Join Date
    11-16-2018
    Location
    london
    MS-Off Ver
    version 1810
    Posts
    20

    how to move cells down and keep conditional formatting

    hi,

    im trying to keep conditional formatting for the new data.
    i currently have
    Range("A13:D13").Select
    Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove

    this moves the data in A13-D13 down so that new data can go into A13-D13 however this new data does not have the same conditional formatting is there anyway i can keep the conditional formatting in the cells A13-D13?

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: how to move cells down and keep conditional formatting

    You could
    Copy Range("A13:D13") to Range("A14:D14")
    Delete Range("A13:D13") contents
    Or
    Insert cells as you are doing
    Copy Range("A14:D14") to Range("A13:D13")
    Delete Range("A13:D13") contents
    - Battle without fear gives no glory - Just try

  3. #3
    Registered User
    Join Date
    11-16-2018
    Location
    london
    MS-Off Ver
    version 1810
    Posts
    20
    Quote Originally Posted by PCI View Post
    You could
    Copy Range("A13:D13") to Range("A14:D14")
    Delete Range("A13:D13") contents
    Or
    Insert cells as you are doing
    Copy Range("A14:D14") to Range("A13:D13")
    Delete Range("A13:D13") contents
    I need to be able to move down the data every time I enter a new input and therefore can’t copy into new cells

  4. #4
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: how to move cells down and keep conditional formatting

    I need to be able to move down the data every time I enter a new input
    Where do enter data in Range("A13:D13") ??
    In others words where is your code

    Please Login or Register  to view this content.
    Attach a short Excel sample and it will be clear

  5. #5
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: how to move cells down and keep conditional formatting

    See next code and comment
    Please Login or Register  to view this content.

+ 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. How to get non-conditional formatting to move during sort...
    By ScotyB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2017, 09:20 PM
  2. [SOLVED] Clear contents and move data up into blank cells, keep conditional formatting
    By Andy15 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-17-2017, 01:59 PM
  3. Can Conditional Formatting Move Items to New Rows or New Tabs
    By TestMailinator in forum Excel General
    Replies: 1
    Last Post: 01-26-2015, 10:58 AM
  4. Trying to move worksheet to folder in a directory based on conditional formatting
    By dwhite30518 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 02:24 PM
  5. [SOLVED] Clear/Move data up a row but keep all formatting including conditional.
    By Hyflex in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-09-2011, 07:39 AM
  6. Formatting cells to blink or move
    By Therese in forum Excel General
    Replies: 3
    Last Post: 12-18-2005, 05:50 PM
  7. Move merged cells with conditional formatting?
    By SpikeUK in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-08-2005, 01:04 PM

Tags for this Thread

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