+ Reply to Thread
Results 1 to 5 of 5

vba delete blank cells in range B:B,J:J,O:O so as not affect next column values cells.

  1. #1
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    vba delete blank cells in range B:B,J:J,O:O so as not affect next column values cells.

    Dear experts

    I need your help on this..I have 3 set range of data , A:B ,H&J,N:O...where finds col B,J,O blank cells delete blank cell only not to delete another set of data range


    Please Login or Register  to view this content.
    find the attachment & find the sheet(expected result)..
    Attached Files Attached Files

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: vba delete blank cells in range B:B,J:J,O:O so as not affect next column values cells.

    maybe something like
    Please Login or Register  to view this content.

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: vba delete blank cells in range B:B,J:J,O:O so as not affect next column values cells.

    Or:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: vba delete blank cells in range B:B,J:J,O:O so as not affect next column values cells.

    Hello breadwinner,

    This macro produced the same output as the data on the worksheet "Expected Result".
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  5. #5
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: vba delete blank cells in range B:B,J:J,O:O so as not affect next column values cells.

    Thanks alot sir, Amazing works ! small requirement added i want remove duplicate values through A:A column but in the date column B:B latest date should be remain with So's in A:A.
    SO_NBR.... should not affect another two range values.!!!
    find the attachment...
    Attached Files Attached Files

+ 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. Replies: 11
    Last Post: 02-28-2014, 02:40 PM
  2. [SOLVED] Copy non blank cells in a range where there are certain values in another column
    By Knocknaboula in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-23-2013, 08:51 AM
  3. Replies: 5
    Last Post: 01-24-2013, 06:29 AM
  4. [SOLVED] How to Delete Entire Row if Range of Cells are Blank?
    By mrodrigues in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-10-2012, 09:42 PM
  5. [SOLVED] Macro to delete blank cells and unwanted cells in a particular column
    By Nikkishr in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-09-2012, 06:22 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