Arya
Arya

Reputation: 341

Clipboard content type Word VBA

Please help me to on this:

In word VBA i am trying to get the type of data copied in clip board.

how can i check the content type in clipboard using Word VBA.

Thank's

Upvotes: 3

Views: 1351

Answers (1)

Matchendran
Matchendran

Reputation: 433

You can use Getformat method in Clipboard Objectto check whether the clipboard has certain type of data... See these links for better clarifications...

http://msdn.microsoft.com/en-us/library/ebwdx8yh%28v=vs.90%29.aspx

http://msdn.microsoft.com/en-us/library/system.windows.forms.dataformats%28v=vs.90%29.aspx

http://msdn.microsoft.com/en-us/library/aa240801(v=vs.60).aspx

Upvotes: 2

Related Questions