Hello,
My problem is-I am trying to load data from wksht 1. The data starts at I3 (date format that displays only Jan-03), J3 (as Feb-03), K3(Mar-03)...
Below is what I did:
Dim vdate As String
Dim x As Integer
' 12 is how many months to forecast
Dim vMonth(12) As String
Sheets(1).Select
For x = 1 To 12
vMonth(x) = Cells(8 + x, 3)
Next x
' Test if loaded
vdate = vMonth(6)
MsgBox vdate
Sheets(2).Select
Once it's loaded I will be using this to compare to sheet2.
Thanks in advance.
-sam.
My problem is-I am trying to load data from wksht 1. The data starts at I3 (date format that displays only Jan-03), J3 (as Feb-03), K3(Mar-03)...
Below is what I did:
Dim vdate As String
Dim x As Integer
' 12 is how many months to forecast
Dim vMonth(12) As String
Sheets(1).Select
For x = 1 To 12
vMonth(x) = Cells(8 + x, 3)
Next x
' Test if loaded
vdate = vMonth(6)
MsgBox vdate
Sheets(2).Select
Once it's loaded I will be using this to compare to sheet2.
Thanks in advance.
-sam.