I've changed definition of the DLL function
from Public Sub GetCellA1(locWB As Workbook)
to Public Sub GetCellA1(locWB As Excel.Workbook)
but still receving the same error message
--
MarkDe
-----------------------------------------------------------------------
MarkDev's Profile:
http://www.excelforum.com/member.php...fo&userid=3557
View this thread:
http://www.excelforum.com/showthread.php?threadid=57038