How to use ADO and VBA to Read from Worksheets

Excel Macro Mastery
Excel Macro Mastery
75.1 هزار بار بازدید - 5 سال پیش - How to use ADO and
How to use ADO and VBA to read from worksheets

The one big advantage of ADO is that is allows to easily read data from closed workbooks.

So what is ADO. ADO is ActiveX Data Objects which help use to read from databases and other data sources. It is a programming library that does all the hard work for us as it provides a common interface for us to talk to all our data sources.

In this video I am going to show you the different ways you can harness the power of ADO with lots of examples.


DOWNLOAD THE SOURCE CODE FOR THIS VIDEO HERE: https://bit.ly/3GWkgfK

FREE CHEAT SHEET: Get the free cheat sheet on VBA arrays here: (https://bit.ly/2MXsnz9)

Excel VBA Training
The Excel VBA Handbook Course(https://TheExcelVBAHandbook.com)
Webinar Archives - 60+ Hours of VBA training(https://excelmacromastery.com/excel-v...)

Free Excel VBA Resources
Excel VBA Articles (https://excelmacromastery.com/vba-art...)

Related Links
Connection Strings (https://www.connectionstrings.com/ace...)
VBA Class Modules – The Ultimate Guide (https://excelmacromastery.com/vba-cla...)
Using ADO and SQL (https://bit.ly/2Sk9Qjs)

Useful VBA Shortcut Keys:
Shift + F2: Get the definition of the item under the cursor.
Ctrl + Shift + F2: Go to the last cursor position.
Ctrl + Space: AutoComplete Word.
Alt + F11: Switch between Excel and the VBA Editor.
Ctrl + R: View the Project Explorer Window.
F4: View the Properties Window.
F5: Run the code from the current sub.
F9(or click left margin): Add a breakpoint to pause the code.
Tab: To move lines of code to the right(Indent).
Shift + Tab: To move lines of code to the left(Outdent).
5 سال پیش در تاریخ 1398/06/29 منتشر شده است.
75,179 بـار بازدید شده
... بیشتر