How about deleting the .xls file and then
creating a new .xls file with the new data?
Lava
------------------------------------------------
Lava
Boggavarapu
Lava
Trading Inc.
95 Morton Street
New
York, NY 10014
Tel
212.519.9371
Mobile
732.668.2935
www.lavatrading.com
-----Original Message-----
From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of rodger042
Sent: Thursday, January 05, 2006
11:34 AM
To:
[email protected]
Subject: [AccessDevelopers]
Exporting to excel and overwriting data
I
appologize if this is in the archives somewhere already. If so, I
didn't find it.
I have a user asking about exporting from access
to excel and
overwriting data... here is the scenario
1) Take an excel worksheet with a lot of data
2) Export a table or query from MS Access with the
same name as that
worksheet
3) Receive the option to overwrite
4) If the data is less than would cover the
original data you only
partially overwite the original data - you don't
replace the entire
sheet
Example of sheet filled with 1's that had an
export done on it would
look like this
data 1 1 1 1 1
1 1 1 1 1 1 1
1 1 1 1 1 1 1
1 1 1 1 1 1 1
Basically the user would like to be able to export
a smaller set of
data over a larger set in excel and have anything
that wasn't there
automatically erased.
I am not aware of a way to facialitate this with a
simple togle
anywhere. I'm thinking the only practical
way for this to happen
automatically is with a macro. Can someone
confirm this for me? OR
better yet, prove me wrong? ;-)
Thanks for your time
The information contained in this message and any attachments (the "Message") is intended for specific individual(s), and may be confidential or proprietary. If you are not the intended recipient, please notify the sender immediately, delete this Message and do not disclose. Messages are not secure or error free and can contain viruses and the sender is not liable for any of these occurrences. The sender reserves the right to monitor, record and retain Messages.
Please zip all files prior to uploading to Files section.
YAHOO! GROUPS LINKS