Copy, reformat, and paste from 1 sheet to another

rav3n0u5

New Member
Joined
Jun 22, 2005
Messages
11
I haven't touched VBA in a little while (years), and I was never very adept :) Here's what I was looking to do:

In my "Input" sheet, I have cells to be filled in by an end-user. The sheet is locked, save for cells C6:F6, C7:F7...C12:F12, all of which contain numeric data. When the macro runs, it should copy the contents to a new row in the "Data" sheet, and then zero the cells.

In the "Data" sheet, I want to add the date in column A, and essentially flatten the input table to get it on a single row. The idea is that the "Data" sheet builds with every use, and the "Input" sheet stays nice and trim.

Any help would be much appreciated!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,215,105
Messages
6,123,118
Members
449,096
Latest member
provoking

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