Hi, I would like to enquire about Excel 2010:
Can I delete the whole sentence if specific word is found?
Let's say I have them in different rows:
1) what to do now
2) what is she doing here
3) please do help to post the thing
4) is he working
It appears that 1 & 3 contains the word 'do', is there any way I can choose to delete the row or box that contains 'do'?
So what's left would be 2 & 4, and then automatically delete the empty row, so the clean list now would be
1) what is she doing here
2) is he working
Thanks in advance!
Keys to the Problem Deleting rows
Welcome to Microsoft answers.
Before I have an attempt to answer your question I note you posted this question in another thread.
I split that question off from that thread to make it a separate question before I noticed you posted here.
As your very new
to this forum maybe now would be a good time to have a look at the code of conduct, particularly the
Please Don't section.
Now to your question, try this macro.
Note in the coe some comments changes you may have to make
Dim MyColumn As String, Lastrow As Long
Dim x As Long, DelString
'Change this to the correct sting to look for
DelString = "Do"
'Don't change this line
DelString = " " & DelString & " "
'Change this to the column with the data on
MyColumn = "A"
Lastrow = Cells(Cells.Rows.Count, MyColumn).End(xlUp).Row
For x = Lastrow To 1 Step -1
If InStr(1, " " & Cells(x, MyColumn).Value & " ", DelString, vbTextCompare) > 0 Then
Windows Error Reporting - To Fix Deleting rows
- Go to Start button.
- Open Control Panel.
- Go to Windows Error Reporting.
- Click on System and Maintenance, then click Problem Reports and Solutions.
- Next, click Change Settings located on the left side panel of the Problem Reports and Solutions window.
- Select an option to configure how you want Windows to look for a solution to your problems. You may allow Windows to do it automatically or ask you every time to check if problem occurs.
- Next, click the Advanced settings link.
- Select Off to turn off Error Reporting.
Recommended Method to Fix the Problem: Deleting rows:
How to Fix Deleting rows with SmartPCFixer?
1. Click the button to download SmartPCFixer . Install it on your system. Open it, and it will perform a scan for your computer. The junk files will be shown in the scan result.
2. After the scan is finished, you can see the errors and problems need to be repaired. Click Fix All.
3. The Repair part is done, the speed of your computer will be much higher than before and the errors have been fixed. You can also use other functions in this software. Like dll downloading, windows updating 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 - 22.214.171.124059,Best Way to Update & Download SONY VGN-CR203E Conexant HDAUDIO SoftV92 Data Fax Modem with SmartCP Setup Program v.126.96.36.199 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.188.8.131.52,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: Tech Support: Date Function,desintalei o Processador Intel, Como Recuperar? [Solved],How to Fix Problem - Default vs manual settings?