T
Tom Ogilvy
Change
SubAddress:=ws.Name & "!A1
to
SubAddress:="'" & wsName & "'!A1"
Note that I have put --> doublequote singlequote doublequote & <-- before
swName
and in "!A1" I have added a singlequote after the first doublequote.
Regards,
Tom Ogilvy
SubAddress:=ws.Name & "!A1
to
SubAddress:="'" & wsName & "'!A1"
Note that I have put --> doublequote singlequote doublequote & <-- before
swName
and in "!A1" I have added a singlequote after the first doublequote.
Regards,
Tom Ogilvy