I have one excel file where data is entered, and then transferred to another excel file with macros. On the second excel file I would like a macro that inputs a sequential number for each day in column A, and a sequential number for each week (or Month if week isn't possible) in column B. The Date is contained in Column D. A formula does not work because the cells are getting pasted over, so I need this to be a macro to enter the Sequence number after the data is pasted from the first work book. The purpose is count the number of things employees are entering each day, week, etc.
Thank you guys for your hep.
[TABLE="width: 193"]
<colgroup><col width="68" style="width: 51pt; mso-width-source: userset; mso-width-alt: 2486;"> <col width="64" style="width: 48pt; mso-width-source: userset; mso-width-alt: 2340;"> <col width="39" style="width: 29pt; mso-width-source: userset; mso-width-alt: 1426;"> <col width="86" style="width: 65pt; mso-width-source: userset; mso-width-alt: 3145;"> <tbody>[TR]
[TD="width: 68, bgcolor: transparent, align: center"]A[/TD]
[TD="width: 64, bgcolor: transparent, align: center"]B[/TD]
[TD="width: 39, bgcolor: transparent, align: center"]C[/TD]
[TD="width: 86, bgcolor: transparent, align: center"]D[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: center"]# Day[/TD]
[TD="bgcolor: transparent, align: center"]# Week[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: center"]Date[/TD]
[/TR]
</tbody>[/TABLE]
Thank you guys for your hep.
[TABLE="width: 193"]
<colgroup><col width="68" style="width: 51pt; mso-width-source: userset; mso-width-alt: 2486;"> <col width="64" style="width: 48pt; mso-width-source: userset; mso-width-alt: 2340;"> <col width="39" style="width: 29pt; mso-width-source: userset; mso-width-alt: 1426;"> <col width="86" style="width: 65pt; mso-width-source: userset; mso-width-alt: 3145;"> <tbody>[TR]
[TD="width: 68, bgcolor: transparent, align: center"]A[/TD]
[TD="width: 64, bgcolor: transparent, align: center"]B[/TD]
[TD="width: 39, bgcolor: transparent, align: center"]C[/TD]
[TD="width: 86, bgcolor: transparent, align: center"]D[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: center"]# Day[/TD]
[TD="bgcolor: transparent, align: center"]# Week[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: center"]Date[/TD]
[/TR]
</tbody>[/TABLE]