delete row with condition in another cells
hi all!
I need to write a condition that if in a row there is cell <> from a cells in another sheet than delete row
how can I write the condition? I write the code for delete the row I miss only the condition , I ve tried with this but don t work and delete aLL the row even if they have the condition in the cell:
sheets("DB").Select
Set rng = Range("p6:p" & lastrow)
i = 1
For counter = 1 To rng.Rows.Count
If rng.Cells(i) <> Sheets("REC.").Range("C5") Then
rng.Cells(i).EntireRow.Delete
Else
i = i + 1
End If
Next
thanksss!!
*** I think it s because the result of the formula in column (i) is in text format, so I need to modify this from text to number format:
Range("P6").Select
ActiveCell.FormulaR1C1 = "=IF(RC[-3]="""","""",RIGHT(RC[-2],2))"
Anwsers to the Problem delete row with condition in another cells
Check memory problems
Memory management issues can also cause a BSOD in Windows 7. Thankfully, Windows 7 has a Memory Management Diagnostic tool that detects and solves problems related to system memory.
- Click on the Start button on the Taskbar.
- Type "Windows Memory Diagnostic Tool" or "Memory" (without quotes) in the Search box or,
- Click on Windows Memory Diagnostic Tool (in the search results).
- Click on "Restart now and check for problems (Recommended)".
- The system will restart, and you need to follow the instructions given on the screen.
Another Safe way to Repair the Problem: delete row with condition in another cells:
How to Fix delete row with condition in another cells with SmartPCFixer?
1. You can Download SmartPCFixer here. Install it on your computer. When you open SmartPCFixer, it will perform a scan.
2. After the scan is finished, you can see the errors and problems which need to be fixed.
3. The Fixing part is done, the speed of your computer will be much higher than before and the errors have been removed.
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: How to Fix - Defragmentation issues windows 7?,Troubleshooter of Error: Data Validation with Suggestions,Cut and paste web image to a word document. [Solved],Fast Solution to Problem: Default gateway not found after resuming from standby in Windows 7,Tech Support: Date Format Problem When Exporting From Excel To Sqlserver
No comments:
Post a Comment