Thread
:
Need help: search and delete columns
View Single Post
#
2
Posted to microsoft.public.excel.programming
Brian Taylor
external usenet poster
Posts: 52
Need help: search and delete columns
Dim rng as range
For each rng in Range("A1:EN1")
If rng.value = "alternate" then
rng.entirecolumn.delete
End if
Next rng
This assumes that your column header labels are in A1:EN1.
Reply With Quote
Brian Taylor
View Public Profile
Find all posts by Brian Taylor