Sub ChangeColumnsW()
Dim X As Long
For X = 1 To 10
Columns(X).ColumnWidth = Sheets("Kaptnota").Columns(X).ColumnWidth
Next X
End Sub
HelloHow about this?
VBA Code:Sub ChangeColumnsW() Dim X As Long For X = 1 To 10 Columns(X).ColumnWidth = Sheets("Kaptnota").Columns(X).ColumnWidth Next X End Sub
HelloWhat was it?
Can you please post what the issue was/how you resolved it?
It may help someone else down the road.
Yeah, I am guessing that they may not have been on the right sheet when the code is run, which is why I asked that question.The code I posted required you to have the sheet you want to change the columns activated.