Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Downloading Access database table into Excel (VB)

I don't have any familiarity with Access databases but have one that I need
to download and manipulate in Excel using Macros or VB within excel. Can
somone please help me with Excel VB code that will export a table from Access
to Excel.
Database name = Pressing.mdb (2000 file format)
Table name = Used Felt
Columns= "Mill Code", "Machine" and "Position" etc.
Thanks a bunch
Steve
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Downloading Access database table into Excel (VB)

See also
http://www.rondebruin.nl/accessexcel.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Steve" wrote in message ...
I don't have any familiarity with Access databases but have one that I need
to download and manipulate in Excel using Macros or VB within excel. Can
somone please help me with Excel VB code that will export a table from Access
to Excel.
Database name = Pressing.mdb (2000 file format)
Table name = Used Felt
Columns= "Mill Code", "Machine" and "Position" etc.
Thanks a bunch
Steve

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Downloading Access database table into Excel (VB)

Ron
I appreciate the help! I will work with your download example and try to
understand the logic but it look like it will do the trick. Again, thanks a
lot.
Steve

"Ron de Bruin" wrote:

See also
http://www.rondebruin.nl/accessexcel.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Steve" wrote in message ...
I don't have any familiarity with Access databases but have one that I need
to download and manipulate in Excel using Macros or VB within excel. Can
somone please help me with Excel VB code that will export a table from Access
to Excel.
Database name = Pressing.mdb (2000 file format)
Table name = Used Felt
Columns= "Mill Code", "Machine" and "Position" etc.
Thanks a bunch
Steve




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Downloading Access database table into Excel (VB)

Sheeloo
Thanks for help but I have a question re "wsBlad" in your code. What is this?
For lnCount = 0 To lnNumberOfField - 1
wsBlad.Cells(1, lnCount + 1).Value = rst.Fields(lnCount).Name
Next lnCount
Thanks again
Steve
"Sheeloo" wrote:

Visit http://www.ozgrid.com/forum/showthread.php?t=11285
--
- Sheeloo

PS: You may send your file to me at after
removing XXXYYY.


"Steve" wrote:

I don't have any familiarity with Access databases but have one that I need
to download and manipulate in Excel using Macros or VB within excel. Can
somone please help me with Excel VB code that will export a table from Access
to Excel.
Database name = Pressing.mdb (2000 file format)
Table name = Used Felt
Columns= "Mill Code", "Machine" and "Position" etc.
Thanks a bunch
Steve

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
Excel Pivot Table connected to an Access Database Data Source Alex Zimmerhaven Excel Discussion (Misc queries) 2 June 10th 08 03:04 AM
Creating pivot table from Access database Cam Excel Discussion (Misc queries) 1 March 19th 08 06:28 PM
Do I need Excel or Access for my database needs? Emily Excel Discussion (Misc queries) 3 February 21st 08 05:04 PM
vlookup and Access Database Table finster26 Excel Discussion (Misc queries) 1 January 6th 06 10:17 PM
Pivot Table against an Access Database Richard Excel Discussion (Misc queries) 1 February 27th 05 03:42 AM


All times are GMT +1. The time now is 07:17 AM.

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

About Us

"It's about Microsoft Excel"