VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Read Excel Spread Sheet

Duncan MacFarlane  (1 Submission)   Microsoft Office Apps/VBA   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

The purpose of the following code is to provide you with a series of prototype functions to open and retreive data from a MS Excel spread sheet. The following code should be inserted into a new module named, for example, "modReadExcel". Passing variables will set the Excel File Name to open, the active Excel Sheet, recover data (data is returned as a string variable), close and exit Excel and clear the memory. These Prototype function simplify the entire process and gives your program(s) less coding or what I refer to as Clutter.



This code provides you with the basics of opening and reading an excel spreadsheet. I will be updating it in the future with the more advanced features if and when I encounter them.

Rate Read Excel Spread Sheet (18(18 Vote))
Read Excel Spread Sheet.bas

Read Excel Spread Sheet Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters