VBA Autofill

joshrescue62

New Member
Joined
Sep 18, 2013
Messages
8
Hi all,

This is probably something pretty easy, I'm just not at all familiar with vba.

I have a grade book that I am using for my class this semester. I have entered in it my 15 students names, with each of there 5 test scores in columns (B3:F3) and class average in column (G3). I would like to create a macro that will insert a column in between F3 (the 5th test) and the Class average (G3), since there will be other tests I would like to input into this spreadsheet. I would like the heading to autofill from cell F3 (Test 5), and I would like it to say (Test 6) in G3. I would also like this macro to insert holding 0's in the new column (G) inserted for rows 4:19.

If anyone could help me out, it would definitely be very appreciated.

I hope this isn't too complex :nervous:. If you need more information or pictures, let me know.

Thanks,
Josh
 

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top