I need an alternative to below way of writing codes
Range("A1").value = "S.No"
Range("B1").value = "Bill No"
Range("c1").value = "Shipping bill no"
Range("D1").value = "code"
Range("E1").value = "Processing partner"
Range("f1").value = "FOB value"
and so on till Range("Z1").
At times, my requirement might be in A1.value to A20.value sort of fashion (i.e., vertical manner rather than horizontal manner)
So basically the question is there an easier an way to write the above lines of code without including range/cell address each time.
I'm okay with entering contiguous cell range once.
Request you to provide answer for both multiple vertical range.value and horizontal range.value scenarios.
Range("A1").value = "S.No"
Range("B1").value = "Bill No"
Range("c1").value = "Shipping bill no"
Range("D1").value = "code"
Range("E1").value = "Processing partner"
Range("f1").value = "FOB value"
and so on till Range("Z1").
At times, my requirement might be in A1.value to A20.value sort of fashion (i.e., vertical manner rather than horizontal manner)
So basically the question is there an easier an way to write the above lines of code without including range/cell address each time.
I'm okay with entering contiguous cell range once.
Request you to provide answer for both multiple vertical range.value and horizontal range.value scenarios.