PDA

View Full Version : PCOMM slows down after VBA closed



davidklk
10-27-2010, 11:22 AM
Hi all, Im new to the forum but this looked like a really good place to get some help.
I have written some code in vba in excel to automate a repetative task in IBM Personal Communication (PCOMM). - The code itself works fine, but the problem is once the excel session is closed the PCOMM window sporadically runs slowly, as if waiting for a response.

I have tried cutting the code to a minimum and found that even the following affects it:

DIM oPC as Object

Set oPC = CreateObject("PCOMM.autECLPS")
oPC.SetConnectionByName("A")
Set oPC = nothing

The code is designed to manipulate an already running instance of the Pcomm application. If anyone can shed some light on this I would be eternally grateful as its driving me up the wall!