DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   naming a Word bookmark in VB (http://www.daniweb.com/forums/thread155265.html)

likurg Nov 4th, 2008 11:24 am
naming a Word bookmark in VB
 
Hi all,

what is a VB function that would enable me to name a bookmark to exactly match its contents? I've got a macro that defines bookmarks across a mailmerge document, the next step for me is to title them according to their values, which are unique. Also, what would be a sample piece of code that would acomplish it. I understand, it would probably involve the PrivateProfileString method.

Any help would be greatly appreciated.


All times are GMT -4. The time now is 8:50 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC