+ Reply to Thread
Results 1 to 7 of 7

Excel script delete row if cell is empty (Blank)

  1. #1
    Registered User
    Join Date
    08-04-2020
    Location
    Copenhagen, Denmark
    MS-Off Ver
    365
    Posts
    59

    Excel script delete row if cell is empty (Blank)

    Hi


    I have a trouble making a script working.

    I want to filter a column showing all blanks, and then delete these rows.

    Please Login or Register  to view this content.

    But no matter what I try, i will not work, it dont take all blank rows ?

    Regards

    Tony

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,933

    Re: Excel script delete row if cell is empty (Blank)

    Looks like your profile needs updating, please. Thank you.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,620

    Re: Excel script delete row if cell is empty (Blank)

    Why not use Power Query? ( post a small sample sheet please to se if blanks are truly empty or contain a null text string). Thx

  4. #4
    Valued Forum Contributor
    Join Date
    02-04-2017
    Location
    chennai
    MS-Off Ver
    MS OFFICE 365
    Posts
    440

    Re: Excel script delete row if cell is empty (Blank)

    Try this code

    Please Login or Register  to view this content.
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Mark Thread as Solved...

  5. #5
    Registered User
    Join Date
    08-04-2020
    Location
    Copenhagen, Denmark
    MS-Off Ver
    365
    Posts
    59

    Re: Excel script delete row if cell is empty (Blank)

    Hi Pepe

    Thank you for the answer

    The script is running in Power Automate

    Tony

  6. #6
    Registered User
    Join Date
    08-04-2020
    Location
    Copenhagen, Denmark
    MS-Off Ver
    365
    Posts
    59

    Re: Excel script delete row if cell is empty (Blank)

    Hi Sudbhavani

    Tks you for your help, working perfect.

    Tony

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,933

    Re: Excel script delete row if cell is empty (Blank)

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

+ 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. [SOLVED] Delete empty cells VBA script
    By Noahsvb5 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2024, 05:22 AM
  2. [SOLVED] Delete sheets if cell A2 is empty in VLoc Array sheets is blank
    By RAJESH SHAH in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 04-03-2023, 01:19 PM
  3. [SOLVED] VBA Script to Delete empty rows
    By Metrazal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 02:34 PM
  4. Using script to delete first character of excel cell
    By WinningKing in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2014, 09:41 AM
  5. [SOLVED] Getting Excel (via VBA Script) to import multiple textpad files in the next empty cell.
    By red_dot in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-02-2013, 05:49 AM
  6. [SOLVED] Program a conditional script that will delete entire row if cell in column B is empty
    By Rabbitstew in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2012, 01:54 PM
  7. Excel VB Script to Enter Data based on whether a Cell is empty or not
    By timepass111 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-19-2011, 10:27 AM

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