VBA MOD01 Defining Variables

 


Sub DeclaringVarible()

    Dim LastRow As String, Data As String

    Data = Range("A1").CurrentRegion.Cells(1.1).Value

    LastRow = Rows.Count

    

    

    Debug.Print LastRow

    Debug.Print Data

    

End Sub




Comments

Popular posts from this blog

VBA01 Copy Resize Variably Sized Ranges

VBA MOD01 Passing Arguments to sub procedures (ByRef , By Val)

PY MOD01 Lecture 01