Monday, September 26, 2016

Delete blank rows with single click [Solved]

Delete blank rows with single click

I have a worksheet which have more than 100 rows & some are blank.
I want delete blank rows with single click.
Pl help for command.

Keys to the Problem Delete blank rows with single click

Download Error Fixer for Free Now

Here is a macro you can try...

Sub DeleteBlankRows()
  Dim X As Long, LastRow As Long, Cell As Range
  Const StartRow As Long = 2
  LastRow = Cells.Find(What:="*", SearchOrder:=xlRows, _
            SearchDirection:=xlPrevious, LookIn:=xlFormulas).Row
  On Error Resume Next
  For X = LastRow To StartRow Step -1
    If Rows(X).SpecialCells(xlCellTypeBlanks).Columns.Count = _
                   ActiveSheet.UsedRange.Columns.Count Then
      If Err.Number = 0 Then Rows(X).Delete
      Err.Clear
    End If
  Next
End Sub

If you add a button and assign this macro to that button, then you will have your single click method of initiating it.

Running System Update Readiness Command

On running the System Update readiness Command, it will Detect & Replace Incorrect Registry data with the Correct one. Which may ultimately Solve Delete blank rows with single click in Windows.

  1. Open CMD as Administrator by Simply Right Clicking on Start button > Command Prompt (Admin).
  2. Now Type or Copy paste "DISM.exe /Online /Cleanup-image /Scanhealth" and hit Enter,
  3. Now again Type or Copy paste this "DISM.exe /Online /Cleanup-image /Restorehealth" and hit Enter.
  4. Close the Command Prompt Window because we are done.

Reboot your Windows & see if error Delete blank rows with single click is still there.

Note: Your administrator's password might be needed.

Recommended Method to Fix the Problem: Delete blank rows with single click:

How to Fix Delete blank rows with single click with SmartPCFixer?

1. Click the button to download SmartPCFixer . Install it on your computer.  Open it, and it will scan your system. The junk files will be shown in the scan result.

2. After the scan is done, you can see the errors and problems need to be fixed. Click Fix All.

3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been fixed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.


Related: How to Update & Download NVidia GeForce 6100/nForce 420 WHQL Certified driver v.178.13,How to Update & Download NVidia GeForce 7600 GS Video Driver v.295.75 Certified,How Can I Update & Download NVidia GeForce 820M Driver v.344.48 WHQL,[Solved] Download NVidia GeForce GTX 560M VGA Driver v.296.17 Certified,Way to Update & Herunterladen NVidia GeForce GT 130M Video Treiber v.295.75 Certified,How to Update & Download SONY SVE14A1X1RH Realtek Ethernet Driver,Where to Download SONY SVS13A2W9ES Bluetooth Driver (Intel) v.2.6 - 2.6.23.40059,Best Way to Update & Download SONY VGN-CR203E Conexant HDAUDIO SoftV92 Data Fax Modem with SmartCP Setup Program v.7.62.0.50 driver,Best Way to Download SONY VGN-FE790G/N Wireless LAN Driver v.10.6.0.29,Method to Update & Download SONY VGN-NR31Z/S Firmware Extension Parser Device v.8.0.2.3,How to Fix Error 0x0000c1f5 Solución?,Error 0x80071a91 Win7 Fix Patch,Error 0x800ccc60 Windows Live Mail [Solved],Error Message 0x800ccc79 Outlook 2000 Fix,What is Error 0xc1ab0001?,[Answered] x64 saplugin dll,How to Fix Problem - Kb943729 Download?,Troubleshooting: Bccode D1 Error,Java Runtime Tech Support,Troubleshooting: ERROR NO SUCH GROUP Error
Read More: Database function formulas generate incorrect results [Solved],How to Fix Problem - Desktop Background settings disabled.?,Data validation in VBA,Troubleshoot:Deleted the Snipping Tool Error,Troubleshoot:Dell INSPIRON one Touch • 2305 won't boot up.-- Windows Boot Manager: Windows failed to start

No comments:

Post a Comment