Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default Pasting data and dates

Can you sort the list first? If so you can then just have
you macro read it line by line and paste it to the
database, or (depending on the database you use) you could
export the resulting list as a table and append it to your
database table.

If you can't sort the original list, you could copy it to
another worksheet (hidden if necessary) and sort it there,
then copy it to the database.

-----Original Message-----
I have a macro that currently runs data calculation at

the end of the
day once a button is pressed. I want to add to this by

taking this data
and pasting it to a database in the order of its date.

For example the
database will look like this:

Date Clinker Produced Clinker Consumed

Difference
8/3/2004 5000 3000 2000
8/4/2004 7000 3000 4000



The problem is how do I get the macro to take the date

and info from
the one sheet, and paste it on the other in order of the

date.
Note that the date is not in the database, it's on the

other sheet
along with the info. The only thing in my data base now

are the coulumn
headings.


---
Message posted from http://www.ExcelForum.com/

.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy and Pasting Dates Erika Excel Discussion (Misc queries) 2 May 1st 09 01:41 PM
Pasting Dates in Excel BobC Excel Worksheet Functions 1 February 29th 08 03:59 PM
Pasting dates from one spreadsheet to another Cathy Excel Discussion (Misc queries) 2 January 2nd 08 07:51 PM
copy pasting dates from one sheet to another 360Kid Excel Discussion (Misc queries) 3 June 1st 06 04:52 AM
Pasting on Filtered Data Sheets without pasting onto hidden cells CCSMCA Excel Discussion (Misc queries) 1 August 28th 05 01:22 PM


All times are GMT +1. The time now is 03:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"