Hello all,
New poster but long time reader.
I have an Excel 2010 spreadsheet that i am trying to create a VBA code to do some specific things. I am not totally familiar with VBA but do know enough to be dangerous.
Scenario:
Sheet 1 has a cell (say C3) that has a number that can be typed in. For argument, we are going to say this # is 3 which indicates 3 locations.
On sheet 2, i would like for the code to automatically insert 8 lines per location listed in Sheet1!C3. I this example, there would be 24 lines inserted into Sheet 2. We are going to say that these lines need to be added starting at row 10.
Is there a way to make this a live syntax that adds or removes groups of 8 lines as the number changes in Sheet1!C3 without having to create a button or physically run the Macro?
I am completely lost in trying to figure this one out. The simple items that can be obtained from the record macro feature are easy. I just dont know where to start on the insert lines based from the # of locations listed.
Thank you in advance for any help.
New poster but long time reader.
I have an Excel 2010 spreadsheet that i am trying to create a VBA code to do some specific things. I am not totally familiar with VBA but do know enough to be dangerous.
Scenario:
Sheet 1 has a cell (say C3) that has a number that can be typed in. For argument, we are going to say this # is 3 which indicates 3 locations.
On sheet 2, i would like for the code to automatically insert 8 lines per location listed in Sheet1!C3. I this example, there would be 24 lines inserted into Sheet 2. We are going to say that these lines need to be added starting at row 10.
Is there a way to make this a live syntax that adds or removes groups of 8 lines as the number changes in Sheet1!C3 without having to create a button or physically run the Macro?
I am completely lost in trying to figure this one out. The simple items that can be obtained from the record macro feature are easy. I just dont know where to start on the insert lines based from the # of locations listed.
Thank you in advance for any help.