AnuReddy Posted February 25, 2010 Posted February 25, 2010 hey guys, i already have a word document present.... now i need to open that doc and search a string to see if it is present or not how do i do that??
jvanegmond Posted February 25, 2010 Posted February 25, 2010 The topic right below this one is this: http://www.autoitscript.com/forum/index.php?showtopic=110671 github.com/jvanegmond
jvanegmond Posted February 25, 2010 Posted February 25, 2010 Obviously not, that's why the topic exists. That's still not a reason to ask the same question all over again. github.com/jvanegmond
AnuReddy Posted February 25, 2010 Author Posted February 25, 2010 Obviously not, that's why the topic exists. That's still not a reason to ask the same question all over again.check this out it works i guess$oWordApp = _WordCreate ("")$oDoc = _WordDocOpen ($oWordApp, "path to the existing document")$value = _WordDocFindReplace ( $oDoc,"string you searching")if it exists if returns 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now