Facebook Twitter Gplus LinkedIn YouTube Google Maps RSS
Home Technical Export to Excel (Short Version) never tried
formats

Export to Excel (Short Version) never tried

You can also set a reference to excel in Access, and then use the application object to turn off the warning in excel before doing the import.

Dim objXL As Excel.Application
Dim objWkb As Excel.Workbook
Set objXL = New Excel.Application
‘turn off excel warnings
objXL.DisplayAlerts = False
‘Open the Workbook
Set objWkb = objXL.Workbooks.Open(fpath)
‘import excel object
DoCmd.TransferSpreadsheet acImport, 8, “applicantImport”, fpath, True, “A1:V10000″

 
Tags: , ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

12,871 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© All rights reserved to Cyberbrutus. 2012
credit

Switch to our mobile site