Quantcast
Channel: Word for Developers forum
Viewing all articles
Browse latest Browse all 4350

How to create a macro in word using vb.net

$
0
0

Hello all

I want to avoid copy paste content and printing from my word document, I have tried with word protection with 'readonly' locking but, still I can able to copy and paste my word file content.
So I go for word macro.

Now I know how to write a macro manually but I want to create it using vb.net and call it.

 How can I write macro using VB.NET for a given word file ?

Basically I need to develop program in vb.net where user can browse his word file and I can disable its copy paste facility by using macro.


Viewing all articles
Browse latest Browse all 4350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>