Correct structure
Hi,
Can someone assist with the correct structure for the following:
Dim The_Sheet As ??????????????
Dim The_Range As Range
The_Sheet = Sheets("Data")
The_Range = .Range("A1")
Application.Goto Sheets("Data").Range("A1")
&
Sheets("Data").Range("A1").Offset(0, col).Value = MyDatabase.Fields
(col).Name
I want to replace the code 'Sheets("Data").Range("A1")' with the variables.
Andrew 150208
--
Andrew
|