VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Retrieve Excel Cell Values Easily

Ryan Rentfro  (1 Submission)   Microsoft Office Apps/VBA   Visual Basic 3.0   Advanced   Wed 3rd February 2021

Retrieves Excel spreadsheet cell information based on a set of parameters sent to the function. It then sets the value of the variable assigned when retrieveing the information.

Inputs
Row value, column value, and file path.

Assumes
Object programming and undertanding of functions.

Returns
The value of the set cell

Side Effects
If you use this function to retrieve massive amounts of data it is best to have excel open when doing so. I have computated 7 years of stock values and then averaged all values retrieved from excel. It takes about 75% longer to retrieve information when excel is closed.

Rate Retrieve Excel Cell Values Easily (8(8 Vote))
Retrieve Excel Cell Values Easily.bas

Retrieve Excel Cell Values Easily Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters