Hello,
I am new to macros and struggling to get a desired range, two adjacent columns (A7,B7), to autofill to the last row of C. Another problem is that I have some data throughout columns A and B and I do not want to overwrite those. So I think I need a loop to get around that? [TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Title 1[/TD]
[TD]Title 2[/TD]
[TD]Title 3[/TD]
[/TR]
[TR]
[TD]Entry A2[/TD]
[TD]Entry B2[/TD]
[TD]Entry C2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]
[/TR]
[TR]
[TD]<strike></strike>
[TD]<strike></strike>
[TD]
[/TR]
[TR]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD]
[/TR]
[TR]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD]
[/TR]
[TR]
[TD]<strike></strike>
[TD]<strike></strike>
[TD]
[/TR]
[TR]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD]
[/TR]
[TR]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD]
[/TR]
[TR]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
My spreadsheet looks something like that and I want to be able to use this macro on other spreadsheets. I'm trying to get it to autofill say A2 and B2 down to C3, but then I need to autofill A4 and B4 to C6 and so on.
I am new to macros and struggling to get a desired range, two adjacent columns (A7,B7), to autofill to the last row of C. Another problem is that I have some data throughout columns A and B and I do not want to overwrite those. So I think I need a loop to get around that? [TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Title 1[/TD]
[TD]Title 2[/TD]
[TD]Title 3[/TD]
[/TR]
[TR]
[TD]Entry A2[/TD]
[TD]Entry B2[/TD]
[TD]Entry C2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]
Entry C3
[/TD][/TR]
[TR]
[TD]<strike></strike>
Entry A4
<strike></strike>[/TD][TD]<strike></strike>
Entry B4
<strike></strike>[/TD][TD]
Entry C4
[/TD][/TR]
[TR]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD]
Entry C5
[/TD][/TR]
[TR]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD]
Entry C6
[/TD][/TR]
[TR]
[TD]<strike></strike>
Entry A7
<strike></strike>[/TD][TD]<strike></strike>
Entry B7
<strike></strike>[/TD][TD]
Entry C7
[/TD][/TR]
[TR]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD]
Entry C8
[/TD][/TR]
[TR]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD]
Entry C9
[/TD][/TR]
[TR]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD]
Entry C10
[/TD][/TR]
</tbody>[/TABLE]
<strike></strike>
My spreadsheet looks something like that and I want to be able to use this macro on other spreadsheets. I'm trying to get it to autofill say A2 and B2 down to C3, but then I need to autofill A4 and B4 to C6 and so on.