98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » Jens
Jens
Resolved · High Priority · Version 2010
Wasay has attended:
Excel Advanced - Formulas & Functions course
Jens
If it is not a date how do I delete the whole row? (Macro)
RE: Jens
Hi Wasay,
Thank you for the forum question.
In the workbook please press ALT F11 to open the Visual Basic Editor. In the project explorer (Left top box) right click on the workbook containing the date and click INSERT Module.
In the new module type:
Sub removeUnWantedRows()
Columns(1).Cells.SpecialCells(xlCellTypeConstants, xlTextValues).EntireRow.Delete
End Sub
Make sure that the sheet with the data is the active sheet before you run the macro.
Kind regards
Jens Bonde
Microsoft Office Specialist Trainer
Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us
London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector
Sat 13 Jun 2015: Automatically marked as resolved.
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Percentage formatCtrl+Shift+% applies the Percentage format, with no decimal places. |