Hi all,
I would like to pass a worksheet variable to a sub as follows:
sub InsertData()
Dim wsDetails2 As Worksheet
CopySheetsIntoVariable "Details (Routine 2)", wsDetails2
MsgBox wsDetails2.Cells(1, 3)
end sub
Sub CopySheetsIntoVariable(sName As String, ByRef ws As Worksheet)...