VBA MAcro update master sheet by row and column of csv

LNG2013

Active Member
Joined
May 23, 2011
Messages
465
I need help with some VBA macro code that will look at the dates in the header and names in row A, and then use the corresponding information to update a Master Spreedsheet that has more names and dates. There will be many CSVs that are produced daily, each with different names and dates. Names and Dates are static in the Master sheet.

CSV Table Layout:
<STYLE type=text/css>
table.tableizer-table {border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 12px;} .tableizer-table td {padding: 4px; margin: 3px; border: 1px solid #ccc;}
.tableizer-table th {background-color: #104E8B; color: #FFF; font-weight: bold;}
</STYLE>

<style type="text/css">
table.tableizer-table {border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 12px;} .tableizer-table td {padding: 4px; margin: 3px; border: 1px solid #ccc;}
.tableizer-table th {background-color: #104E8B; color: #FFF; font-weight: bold;}
</style>
<table class="tableizer-table">
<tr class="tableizer-firstrow"><th></th><th> </th><th> </th><th> </th></tr> <tr><td> </td><td>A</td><td>B</td><td>C</td></tr> <tr><td>1</td><td>Names</td><td>8/6/2011</td><td>Notes-8/6/2011</td></tr> <tr><td>2</td><td>Bill</td><td>Here</td><td> </td></tr> <tr><td>3</td><td>Sue</td><td>Late</td><td>Late 10 Min</td></tr></table>


Example of final Master sheet:

<STYLE type=text/css>
table.tableizer-table {border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 12px;} .tableizer-table td {padding: 4px; margin: 3px; border: 1px solid #ccc;}
.tableizer-table th {background-color: #104E8B; color: #FFF; font-weight: bold;}
</STYLE>
<TABLE class=tableizer-table>
<TBODY><TR class=tableizer-firstrow><TH></TH><TH></TH><TH></TH><TH></TH><TH></TH><TH></TH><TH></TH></TR><TR><TD></TD><TD></TD><TD>A</TD><TD>B</TD><TD>C</TD><TD>D</TD><TD>E</TD></TR><TR><TD></TD><TD>1</TD><TD>Names</TD><TD>8/5/2011</TD><TD>Notes-8/5/2011</TD><TD>8/6/2011</TD><TD>Notes-8/6/2011</TD></TR><TR><TD></TD><TD>2</TD><TD>Bill</TD><TD>Here</TD><TD></TD><TD>Here</TD><TD></TD></TR><TR><TD></TD><TD>3</TD><TD>Bob</TD><TD>Sick</TD><TD></TD><TD>Here</TD><TD></TD></TR><TR><TD></TD><TD>4</TD><TD>Mary</TD><TD>Here</TD><TD></TD><TD>Here</TD><TD></TD></TR><TR><TD></TD><TD>5</TD><TD>Sue</TD><TD>Late</TD><TD>Late 5 Min</TD><TD>Late</TD><TD>Late 10 Min</TD></TR>


</TABLE>




Any Ideas?
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,215,856
Messages
6,127,362
Members
449,381
Latest member
Aircuart

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