I want the Value should be Auto Printed Number of Times When Count is Given
[My Image 1][1]: https://tinyurl.com/yxlcsypz
If you see my image there is Count and Value as some Data like 'DEMO' When i enter count like 5 then the Data in Value = Demo should be printed that many times as Count is mentioned Under Column => H
Like Below Output Image [My Image 2][1]: https://tinyurl.com/y4lajcep
I can Drag the cell upto particular Count... this may work for me But when the count is 5 or 10 ... what if the Count is 100 or 200 or more We have to drag the cell upto 100 count and so on
i want to auto increment without Dragging the cell upto the Particular count
I have tried this one But not Working ... Suggest me How do i achieve this
<code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; box-sizing: inherit; white-space: inherit;">Sub Increment()
Dim startValue
startValue = Cells(15, 5).Value
For i = 1 To 10 Step 1
Cells(i, 5).Value = startValue
startValue = startValue + 1
Next i
End Sub</code>
[My Image 1][1]: https://tinyurl.com/yxlcsypz
If you see my image there is Count and Value as some Data like 'DEMO' When i enter count like 5 then the Data in Value = Demo should be printed that many times as Count is mentioned Under Column => H
Like Below Output Image [My Image 2][1]: https://tinyurl.com/y4lajcep
I can Drag the cell upto particular Count... this may work for me But when the count is 5 or 10 ... what if the Count is 100 or 200 or more We have to drag the cell upto 100 count and so on
i want to auto increment without Dragging the cell upto the Particular count
I have tried this one But not Working ... Suggest me How do i achieve this
<code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; box-sizing: inherit; white-space: inherit;">Sub Increment()
Dim startValue
startValue = Cells(15, 5).Value
For i = 1 To 10 Step 1
Cells(i, 5).Value = startValue
startValue = startValue + 1
Next i
End Sub</code>