Hi Johnston
So therefore, if you are looping from numbers 1 to 12 and using that integer in your line of code, you must have worksheets called:
1
2
3
.
.
.
12
For example, if you place in the Immediate Window, or run it in a normal module, the following line:
does a worksheet called "1" get activated, or does a run time error occur?
If it is the latter, you don't have a worksheet called "1".
Consequently, adapt your line of code to test, as a single line of code, in something like the following way:
Code:
Worksheets("[name of the worksheet you want to have the following range to have column width 15]").Range("A5:K5").ColumnWidth=15
Then once you know this works, then adapt your original line of code to match the name of the worksheet in your loop, or change the name of the worksheet to match "monthNum" in your code.
BTW, I'm not sure, if "monthNum" is an integer, why you have the Boolean "TRUE". Unless I'm missing something, this does not appear required, and is also probably interfering with the running of the line.
Cheers
pvr928