QP School

Full Version: Reading data with VBA
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Description:

You can read data from cells using the Value property.

Example:

Sub ExampleReadingData()
    Dim value As Variant
    value = Range("A1").Value
    MsgBox "The value in cell A1 is: " & value
End Sub