Avatar of Chris_Sizer
Chris_Sizer

asked on 

Excel VBA to cycle through record list and apply a vaule to a number of rows based on another column of data

Have a list of numbers (column A) and want to cycle through the list and add the number (from column A) against the number of rows down the worksheet that appear in column B using VBA... any ideas?

In the attached file i've described what the output should be for the macro in VBA.

Sheet1 is the setup of how many records should be listed against each
Sheet2 is the output with how it should look like at the end.

Sample.xlsm
Microsoft OfficeVBAMicrosoft Excel

Avatar of undefined
Last Comment
Chris_Sizer

8/22/2022 - Mon