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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top