hi guys,
am wondering for a way to remove certain columns from a large excel table.
for example, i'm trying to remove Column AG, and Columns AA:AD.
I tried the below vba, it doesnt work (getting "Type Mismatch" message)
Sub Delete()
Columns("AG, AA:AD").Delete
End Sub
any ideas?
thanks!
am wondering for a way to remove certain columns from a large excel table.
for example, i'm trying to remove Column AG, and Columns AA:AD.
I tried the below vba, it doesnt work (getting "Type Mismatch" message)
Sub Delete()
Columns("AG, AA:AD").Delete
End Sub
any ideas?
thanks!