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

excel vba

ResolvedVersion 2003

Barry has attended:
Excel VBA Intro Intermediate course

Excel VBA

What is the VBA code to import data from a Access table

RE: Excel VBA

Hi Barry

Than you for your question

There is no single line of code that will allow you to import data from a relational database such as access.

There is in fact a complete set of objects known a ActiveX Data Objects (ADO) and you need a thorough understanding of these before you can properly import data into excel.

As a start I would recommend the following link which would get you started.

http://en.wikipedia.org/wiki/ActiveX_Data_Objects

ADO is a major topic area of the intermediate/advanced VBA course that we hope to launch in the next few months

Regards

Stephen





 

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:

Creating a range of monthly payments as text

You could use a formula to create a range of payment ie. payment amount for x% to y% rate with fixed terms and principle.

The text that would be "between Xamount and Yamount".

Here is how to do it.

1 Use the PMT function to get your monthly payments figure or whatever frequency of payments that you choose he start range.

See PMT under Excel Help

2. Nest these in the ROUND function to round decimals see ROUND under Excel Help


3. Concatenate this using "&" and concatenate " to " and concatenate "Between ".

4. Concatenate the above to PMT function for the end range

ie.

="Between "&ROUND((PMT1),decimal places)&" and "&ROUND((PMT2),decimal places)

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.12 secs.