macfam929
New Member
- Joined
- Jul 28, 2010
- Messages
- 13
This has been one of the most frustrating coding days ever!! TIA for all of your help!
I want to select multiple individual cells to delete. If I am calling them out then
works. however I want to replace F with "LastCol + 1" where LastCol is:
I have tried:
However that select row 6 as well, and if I try to add a 3rd argument to that it errors out.
Thanks for all of your help.
I want to select multiple individual cells to delete. If I am calling them out then
Code:
Range("F5, F7, F9, ....").Select
Selection.Delete Shift:=xlUp
Code:
LastCol = Cells.Find(What:="*", _
SearchDirection:=xlPrevious, _
SearchOrder:=xlByColumns).Column
Code:
Range(Cells(5, LastCol + 1), Cells(7, LastCol + 1)).Select
Thanks for all of your help.