Hello Everyone!
Please help me to remove or delete the blank row cells. I've attached sample workbook for your reference.
Thank you
Hello Everyone!
Please help me to remove or delete the blank row cells. I've attached sample workbook for your reference.
Thank you
Last edited by marc5123; 11-02-2020 at 10:46 AM.
Try:
![]()
Sub DeleteBlankRows() Columns("A").SpecialCells(xlCellTypeBlanks).EntireRow.Delete End Sub
You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
Practice makes perfect. I'm very far from perfect so I'm still practising.
Hello Mumps1,
I'm really new to this and not familiar with VB. Please upload the sample workbook with this code enabled or guide me, how to run this code.
Thank you for your time to check into my thread.
Do the following: Save the workbook as a macro-enabled file. This will change its extension to "xlsm". Hold down the ALT key and press the F11 key. This will open the Visual Basic Editor. In the menu at the top click 'Insert' and then click 'Module'. Copy and paste the macro into the empty code window that opens up. Press the F5 key to run the macro. Close the code module window to return to your sheet. There are other quicker ways to run the macro such as assigning it to a button that you would click on your sheet or assigning it to a short cut key. If you are still having problems, please let me know.
Thank you Mumps1
Yes, its working.![]()
You are very welcome.![]()
Good Morning Mumps!
Please guide me through how to assign short cut key to run macro to remove blank or empty row?
Click the "View" tab in the top menu.
Click the top part of the "Macros" button on the far right.
Click on the macro name in the list and then click the "Options" button on the right.
Enter a letter of your choice in the box to the right of "Ctrl+"
Enter a description (optional).
Click "OK".
Close the pop up window.
When you want to run the macro, while holding down the CRTL key, press the letter you had entered in the box to the right of "Ctrl+"
Wow Mumps!
Done, I owe you big time.
Thank you so much!
My pleasure.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks