Connecting V.B 6.0 with ms-excel 2003

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Nov 2007
Posts: 2
Reputation: hatemkhzouz is an unknown quantity at this point 
Solved Threads: 0
hatemkhzouz hatemkhzouz is offline Offline
Newbie Poster

Connecting V.B 6.0 with ms-excel 2003

 
0
  #1
Nov 23rd, 2007
Hi All ,
this is the first time i've entered this site ,and welling to help me about using visual basic 6.0 to connect with an excel sheet to be retreived it's data into the V.B.

So, If you please i need the V.B Code to complete my object.

thanx indeed, and i feel a pleasure to consult all through daniweb amazing site.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 147
Reputation: hopalongcassidy is an unknown quantity at this point 
Solved Threads: 13
hopalongcassidy's Avatar
hopalongcassidy hopalongcassidy is offline Offline
Junior Poster

Re: Connecting V.B 6.0 with ms-excel 2003

 
0
  #2
Nov 23rd, 2007
You can do this using Call DoCmd.TransferSpreadsheet(...).

You can read about the parameters of this call in the Microsoft Access Help file under TransferSpreadsheet. You can use TransferSpreadsheet to either import, export or link a spreadsheet with a table. The spreadsheet can be Excel or even a Lotus 1,2,3 spreadsheet (read only).

Hoppy
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2
Reputation: hatemkhzouz is an unknown quantity at this point 
Solved Threads: 0
hatemkhzouz hatemkhzouz is offline Offline
Newbie Poster

Re: Connecting V.B 6.0 with ms-excel 2003

 
0
  #3
Nov 23rd, 2007
tHANX INDEED BRO.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 1
Reputation: Abu-fa5ory is an unknown quantity at this point 
Solved Threads: 0
Abu-fa5ory Abu-fa5ory is offline Offline
Newbie Poster

Re: Connecting V.B 6.0 with ms-excel 2003

 
0
  #4
Nov 25th, 2007
Hi,
i'm realy happy for joining (Daniweb) and i want to ask you about connecting vb 6 with microsoft excel, so please please help me....
thanx alot.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 147
Reputation: hopalongcassidy is an unknown quantity at this point 
Solved Threads: 13
hopalongcassidy's Avatar
hopalongcassidy hopalongcassidy is offline Offline
Junior Poster

Re: Connecting V.B 6.0 with ms-excel 2003

 
0
  #5
Nov 25th, 2007
Originally Posted by Abu-fa5ory View Post
Hi,
i'm realy happy for joining (Daniweb) and i want to ask you about connecting vb 6 with microsoft excel, so please please help me....
thanx alot.
So, what's your question?

Hoppy
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC