jasonb75
Well-known Member
- Joined
- Dec 30, 2008
- Messages
- 15,497
- Office Version
- 365
- Platform
- Windows
Hi all, does anyone know if it's possible to make this work without using an obscene amount of code to do so?
I could use
but the code module is starting to get a bit heavy so I'm trying to shorten things where possible.
Thanks
Code:
ar = Range("C2").Value
Range("B38", "B74", "B110", "B146", "B182", "B218", "B254") = Array(ar, ar + 1, ar + 2, ar + 3, ar + 4, ar + 5, ar + 6)
I could use
Code:
Range("B38") = ar
Range("B74") = ar + 1
etc...
but the code module is starting to get a bit heavy so I'm trying to shorten things where possible.
Thanks