Thread
:
Deleting "most" of row
View Single Post
#
5
Posted to microsoft.public.excel.programming
Don Guillett
external usenet poster
Posts: 10,124
Deleting "most" of row
glad to help
--
Don Guillett
SalesAid Software
"Don Guillett" wrote in message
...
try
With Worksheets("Data")
lr=.Cells(.Rows.Count, "A").End(xlUp)
.range(.cells(lr,2),.cells(lr,"iv")).ClearContents
end with
--
Don Guillett
SalesAid Software
"Robbyn" wrote in message
...
Hi all,
With Worksheets("Data")
Set Rng = .Cells(.Rows.Count, "A").End(xlUp)
With Rng
.EntireRow.ClearContents
How would I change the above code so that the data in column A is not
deleted but everything else on the row is deleted?
TIA,
Robbyn
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett