Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Excel to Access using ADO

Please help if possible.

I would supply what I have so far, but it is really
convoluted garbage.

I am using ADO 2.5 in VBA from Excel XP with Windows 2000.

I have loaded an array with data from a spreadsheet.

Now, I need to copy it into a recordset (I guess) to
upload into an Access database (table exists and all
fields match).

I have seen many examples, but none seem to work. Can
someone supply me with example code on how to do this
please, please, please?

Your example code is most valuable thing I could get.
Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel to Access using ADO

Here is a quick something. It is not perfect but it is a workin
example.


Keith
www.kjtfs.co

Attachment filename: database.zip
Download attachment: http://www.excelforum.com/attachment.php?postid=39262
--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Excel to Access using ADO

Thank you very much, it worked!

-----Original Message-----
Here is a quick something. It is not perfect but it is a

working
example.


Keith
www.kjtfs.com

Attachment filename:

database.zip
Download attachment:

http://www.excelforum.com/attachment.php?postid=392625
---
Message posted from http://www.ExcelForum.com/

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel to Access using ADO

Hi Keith,
I tried it too and it worked, I will certainly use it for my database
Thank you,
Annelie:)


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

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel to Access using ADO

Little Problem with my macro. Until now a ran a macro which sorted an
prepared the data to be imported to access. In the end range selectio
looked like this:
Range("A2").Select
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
using end right, end down, because the data is not always the same
Actually the columns are always the same, but the rows are not..

How do I translate that to your macro?
Thanks in advance.
Annelie

--
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
Query from Access into Excel cause Access to go to read only T Stephens Excel Discussion (Misc queries) 0 March 24th 09 04:17 PM
Can Excel access data from Access?! Al Excel Discussion (Misc queries) 5 April 5th 08 03:52 PM
Access Form In An Access Report (SubForm) Question Gary Links and Linking in Excel 0 January 27th 06 05:54 AM
export access to excel. change access & update excel at same time fastcar Excel Discussion (Misc queries) 0 June 24th 05 09:27 PM
How to access ACCESS from Excel! Gordon Cartwright[_2_] Excel Programming 3 November 8th 03 11:50 AM


All times are GMT +1. The time now is 09:44 AM.

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"