Excel 2003 as backend database for VB6


I want to display selected data from excel 2003 sheets via VB6.

All the tutorials are giving detailed instructions on ACCESS but are very brief when it comes to Excel.
Connection to ACCESS is quite easy with ADO but I am struggling when I substitute excel sheet with ACCESS table.

Can someone please write a little sample code to connect to EXCEL 2003 with VB6 and display selected contents by pressing an appropriate command button.

Kind Regards and many thanks in advance.

If you enjoyed this post, subscribe for updates (it's free)

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.