Thread: Variables
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tim U[_2_] Tim U[_2_] is offline
external usenet poster
 
Posts: 4
Default Variables

I'm new to VBA and I'm trying to define a variable in one
subroutine and use it in another subroutine but the
variable is resetting to zero in the second subroutine.
What am I missing? Thank you for any help with this.

Sub DownOne()
RowOffset = 1 'defining the variable
Combine 'Second Subroutine
End Sub