Solved

export error

Posted on 2011-03-16
2
279 Views
Last Modified: 2012-05-11
Hi,

I have a macro called autoexec

On the TransferSpreadsheet Action i have file name

G:\Asset Services MI\UnMatched Merit\balances.xls

Now, that ss already exists. So i get an error message saying table already exists and it halts execution

How can i get it so the macro ignores this and overwtites the file

Thanks
Seamus
0
Comment
Question by:Seamus2626
2 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 35149439
try placing set warnings before and after the transferspreadsheet
with first warnings on set to yes and the second setwarnings on to No

SetWarnings
TransferSpreadsheet
SetWarnings
0
 

Author Closing Comment

by:Seamus2626
ID: 35149622
Excellent, thanks!
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now