H
hbj
Hello all gurus
I have a project containing two xlsm files: Accounting.xlsm and Common.xlsm..
In Accounting I use a VBA procedure to copy row-by-row from one worksheet to another. I copy dates, numbers an strings.
In the other file, Common, there is a function checking if a date is withina range and this function is used and called only in Common.xlsm.
If both workbooks are open when I run the copying routine in Accounting, the date checking function in Common is called each time the row data is pasted. In the call stack a "non basic code" is calling that function.
If only Accounting workbook is open, the copy-paste routine runs correctly and fast.
How can I trace, where is the call to the function?
Håkan
I have a project containing two xlsm files: Accounting.xlsm and Common.xlsm..
In Accounting I use a VBA procedure to copy row-by-row from one worksheet to another. I copy dates, numbers an strings.
In the other file, Common, there is a function checking if a date is withina range and this function is used and called only in Common.xlsm.
If both workbooks are open when I run the copying routine in Accounting, the date checking function in Common is called each time the row data is pasted. In the call stack a "non basic code" is calling that function.
If only Accounting workbook is open, the copy-paste routine runs correctly and fast.
How can I trace, where is the call to the function?
Håkan