mrbaseball34
03-17-2003, 11:12 AM
I have the following data in two worksheets...
{Worksheet1}
Date Time Home Team Visiting Team Field
-------------------- -------- ------------- ------------- ---------
Sunday, Apr-06-2003 10:00 AM Anderson
Sunday, Apr-06-2003 1:00 PM Anderson
Sunday, Apr-06-2003 4:00 PM Anderson
Sunday, Apr-06-2003 1:00 PM Concordia
Sunday, Apr-06-2003 4:00 PM Concordia
Sunday, Apr-06-2003 10:00 AM Del Valle
Sunday, Apr-06-2003 10:00 AM Del Valle
Sunday, Apr-06-2003 4:00 PM Del Valle
Sunday, Apr-06-2003 7:00 PM Del Valle
Sunday, Apr-06-2003 10:00 AM Downs
Sunday, Apr-06-2003 1:00 PM Downs
Sunday, Apr-06-2003 4:00 PM Downs
(702 rows)
{Worksheet2}
Date Time Home Team Visiting Team Field
-------------------- -------- ------------- ------------- --------
Sunday, Apr-06-2003 10:00 AM Red Wings Bombers Anderson
Sunday, Apr-06-2003 1:00 PM Angels Indians Anderson
Sunday, Apr-06-2003 4:00 PM Reds Red Sox Anderson
Sunday, Apr-06-2003 10:00 AM White Sox Pirates Downs
Sunday, Apr-06-2003 1:00 PM Diamondbacks Curve Downs
Sunday, Apr-06-2003 4:00 PM Devil Rays Bandits Downs
(510 rows)
I need a VBA script that will take the values in Worksheet2 and
copy them into the corresponding slot in Worksheet1 leaving the
empty slots.
In the examples above the ones for Concordia and Del Valle should
be left empty while the rest will be copied over from Worksheet2.
Anyone help out here?
{Worksheet1}
Date Time Home Team Visiting Team Field
-------------------- -------- ------------- ------------- ---------
Sunday, Apr-06-2003 10:00 AM Anderson
Sunday, Apr-06-2003 1:00 PM Anderson
Sunday, Apr-06-2003 4:00 PM Anderson
Sunday, Apr-06-2003 1:00 PM Concordia
Sunday, Apr-06-2003 4:00 PM Concordia
Sunday, Apr-06-2003 10:00 AM Del Valle
Sunday, Apr-06-2003 10:00 AM Del Valle
Sunday, Apr-06-2003 4:00 PM Del Valle
Sunday, Apr-06-2003 7:00 PM Del Valle
Sunday, Apr-06-2003 10:00 AM Downs
Sunday, Apr-06-2003 1:00 PM Downs
Sunday, Apr-06-2003 4:00 PM Downs
(702 rows)
{Worksheet2}
Date Time Home Team Visiting Team Field
-------------------- -------- ------------- ------------- --------
Sunday, Apr-06-2003 10:00 AM Red Wings Bombers Anderson
Sunday, Apr-06-2003 1:00 PM Angels Indians Anderson
Sunday, Apr-06-2003 4:00 PM Reds Red Sox Anderson
Sunday, Apr-06-2003 10:00 AM White Sox Pirates Downs
Sunday, Apr-06-2003 1:00 PM Diamondbacks Curve Downs
Sunday, Apr-06-2003 4:00 PM Devil Rays Bandits Downs
(510 rows)
I need a VBA script that will take the values in Worksheet2 and
copy them into the corresponding slot in Worksheet1 leaving the
empty slots.
In the examples above the ones for Concordia and Del Valle should
be left empty while the rest will be copied over from Worksheet2.
Anyone help out here?