Copying data from word to Excel - Error

Sachin_Kharmale

Active Member
May be ,
1)Handle Value mismatch
2)check for all Excel and Ms Word operation you have use same VBO it might be
For create instane - Excel Object 1
And for open workbook - Excel object 2
2)check Excel Handle and Word Handle store in different Data item do not use common Data item to store and Handle and any other informations of both Object may be it will conflict due to that the error comes the given key is not present in dictionary.
 
Last edited:

danniaus1

New Member
May be ,
1)Handle Value mismatch
2)check for all Excel and Ms Word operation you have use same VBO it might be
For create instane - Excel Object 1
And for open workbook - Excel object 2
2)check Excel Handle and Word Handle store in different Data item do not use common Data item to store and Handle and any other informations of both Object may be it will conflict due to that the error comes the given key is not present in dictionary.


Thanks Sachin

I have checked and the handles are all correct.

I have run again and now this is the error I am getting

Your help is appreciated

View attachment 1560745298776.png
 

Sachin_Kharmale

Active Member
The error came to that step stop with break point
Open new word or excel manually and paste clipboard data into word or excel to check the content of clipboard data
may be clipboard does not contains data

Paste Special method range class failed -
Check you are passing the right Range to action like "A1:B5"
 
Top