Results 1 to 3 of 3

VBA to move a cell to next blank cell

Threaded View

  1. #1
    Registered User
    Join Date
    12-18-2012
    Location
    Sabah Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Cool VBA to move a cell to next blank cell

    I have a task to consolidate all figures into one column.

    I need to create a Macro to move negative values in column C ( any column as I select) and paste the same value to left empty cell.
    Before
    
          A   B     C     D    E   F
    1         10   
    2              -18
    3              -12
    4              -14
    5         19
    6         20
    7
    8
    
    After
          A   B     C     D    E   F
    1         10   
    2         -18
    3         -2
    4         -14
    5         19
    6         20
    7
    8
    Thanks
    Last edited by Leith Ross; 12-18-2012 at 01:20 PM. Reason: Added Code tags to preserve formatting

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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