I have a CSV file that after being imported into excel does not add a "%" sign to values in every other column beginning with row 3 and column 3. Each file can have a varying number of columns and rows (changes should always start at row 3). I am able to add the percent sign with the code below; however, it adds the % sign to every column rather than every other column. Any suggestions on add the % sign to every other column? I'm using excel 2010 if that makes a difference.
Sub Percent()
Application.ScreenUpdating = False
For Each col In Application.ActiveSheet.Columns
If col.Column Mod 2 = 0 Then
Range("C3", "DC100").Select
Selection.NumberFormat = "0""%"""
End If
Next col
Application.ScreenUpdating = True
End Sub
Bookmarks