I have a module and a workbook and need to refenerence a cell from WorkBookA in the VBA of Module1. I searched for a solution on the message board but can't find a similar question.
I need something like this:
I need something like this:
Code:
Sub RunReport()
'This code resides in Module1
Dim ReportDate As String
ReportDate = WorkBookA!K2.Value
End Sub