Copying Excel sheet data using VBA and ADO
VBA 1 Comment »This article is part of the series: Copying Excel Data
- Copying Excel sheet data using VBA
- Copying Excel sheet data using VBA and ADO
So what do you do if you need to copy data from an Excel workbook that is maintained by other people? And is, therefore, located somewhere else? And you do not have dedicated access to it? And you can not run an unobserved, automated workbook in that location?
Other than manually opening the workbook and copy/pasting the data (time consuming), there really is no other solution than making a copy and using that copy for your automation.
Fortunately, database tools come to the rescue; the very way that Excel works is similar to that of an actual database: information is stored in rows and columns, and each worksheet can be considered a table.

Mehdi is a 30-some year old nerd, who's learned
how to program and script the hard way - by being thrown into a job that required it.
Recent Comments