Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Delete cells without selecting?
How about: Cells(n, "A").Resize(, 7).Delete xlShiftUp
-- Rob van Gelder - http://www.vangelder.co.nz/excel wrote in message news:WijHd.18701$B95.6487@lakeread02... All - I'm doing a For each ... next down column A. When I come across a cell value I don't like I want to delete that cell and the six to the right, shifting up. Alternatively I could delete the whole row, which I keep track of with counter n. Which is better? And is there a way to either it without Range("A" & n & ":G" &n).select and then delete xlup? Thanks in advance. ...best, Hash |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Delete cells without selecting?
Rob -
Thanks. I'll give it a go. ....best, Hash In article , "Rob van Gelder" wrote: How about: Cells(n, "A").Resize(, 7).Delete xlShiftUp |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to Delete entire rows by selecting different text in column A | Excel Discussion (Misc queries) | |||
Can I delete blank rows from excel without selecting them? | Excel Worksheet Functions | |||
Selecting every other row to delete or move | Excel Discussion (Misc queries) | |||
Selecting an Excel tab, Delete Worksheet command is not active | New Users to Excel | |||
Selecting a group of worksheets to delete | Excel Programming |