View Full Version : Find and replace VBA code with VBA
tariq1370
10-04-2012, 11:25 PM
I want to find and replace text in MS Word Macro Declarations in various documents. Actually i am a beginner in VBA Coding and i don't know if it is possible or not. But i want to change the Macro declaration statement i.e the very first statement in Macro code.
I will be grateful if anybody can help me
Thanks.
fumei
10-05-2012, 07:03 PM
i don't know if it is possible or not
Then tell what it is you want to do. It quite likely you will not even need VBA. Worde Find & Replace can do a lot - no VBA.
But i want to change the Macro declaration statement i.e the very first statement in Macro code.
Change what declaration?
We need much more detail.
tariq1370
10-06-2012, 12:40 AM
Thanks a lot for your reply .. Actually, i have done what i was asking in this post. I had thousand of MS Word Files having Macros written in them. and i needed to search some text in the VBA code of Macros and replace it with certain text. I used the VBA Extensibility Library for this. Thanks for your reply
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.