Hello all...
I writing a macro, and I need it to name a specific range a name. The range changes daily in length. Here is what I have:
and I get this error:
" run-time error '1004'
Method 'Range' of object '_Global' failed"
Any ideas?
Thanks!
I writing a macro, and I need it to name a specific range a name. The range changes daily in length. Here is what I have:
Code:
Range(Sheets(5).Cells(6, 6).End(xlDown)).Name = "unique_producer_list"
and I get this error:
" run-time error '1004'
Method 'Range' of object '_Global' failed"
Any ideas?
Thanks!