QP School
Reading data with VBA - Printable Version

+- QP School (https://qomplainerzschool.lima-city.de)
+-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3)
+--- Forum: Excel VBA Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=48)
+--- Thread: Reading data with VBA (/showthread.php?tid=5221)



Reading data with VBA - Qomplainerz - 07-27-2023

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