Can't access second excel addins after executing first in word.

K

Kislay

The word macro contains few lines as:

CopySMS.Application.Run ("labgraph.xla! _
Shrink.ParallelShrink") 'makes a excel plot and copies
Selection.PasteSpecial Link:=False, _ DataType:=wdPasteOLEObject, _
Placement:=wdInLine, DisplayAsIcon:=False
Selection.MoveDown Unit:=wdLine, Count:=2
CopySMS.Application.Run ("labgraph.xla!xlMain.CloseWorkbook")

The problem is that it doesn't run the second addins and stops over there.
But, if paste command is commented, it runs it. Somehow, this paste command
is stopping the second addins to run.

If anybody can help in this please.

Thanks,

Kislay
 
Top