Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

ado

ResolvedVersion 2003

Ian has attended:
Excel VBA Intro Intermediate course
Excel VBA Advanced course

ADO

how do I get the connection string to a csv file

RE: ADO

Hi Ian

Thank you for your question

It is possible to connect to a csv file. The code however is rather involved and there are a number of additional concepts that you need to understand; as a result providing a full answer is beyond the scope of the forum.

I have found the following web page that provides some sample code that you might find useful.

http://www.vb-helper.com/howto_ado_load_csv.html

I have not however tested the code, so you should use it with caution.

We can if required provide further assistance, although this would be on a consultancy basis

Regards

Stephen

Thu 4 Dec 2008: Automatically marked as resolved.

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Return to the active cell after scrolling

When I scroll a long way down the screen from a selected cell, I can return to that cell with the Ctrl+Back Space shortcut. The active cell now appears in roughly the middle of the screen.

Shift+Back Space does something similar. Scroll down from the active cell and Shift+Back Space returns me to it and puts the active cell at the top of the screen; scroll up from the active cell and Shift+Back Space returns me to it and puts the active cell at the bottom of the screen.

Note also, that while Ctrl+Back Space will return me back to a selected range, Shift+Back Space only ever returns me to the active cell, which is normally at the top left-hand corner of any selected range.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.