I\'m looking for an alternative to this code, but using numbers. I want to select 5 columns, the start column is a variable, and then it selects 5 columns from this
code
no need for loops or such.. try this..
dim startColumnas integer dim endColumn as integer startColumn = 7 endColumn = 24 Range(Cells(, startColumn), Cells(, endColumn)).ColumnWidth = 3.8 ' <~~ whatever width you want to set..*