Thread
:
Macro help in excel
View Single Post
10-24-2008, 03:00 PM
#
7
red sky
#1 Goaltender
Join Date: Apr 2006
Exp:
I found out the vba code for it:
Sub DelC()
Dim LC As Integer, i As Integer
LC = Cells(20, Columns.Count).End(xlToLeft).Column
For i = LC To 2 Step -1
If Val(Cells(20, i).Value) = 0 Then Columns(i).Delete
Next i
End Sub
red sky
View Public Profile
Send a private message to red sky
Find More Posts by red sky