WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   VBA mit Word Frage (http://www.wcm.at/forum/showthread.php?t=40904)

dietz 28.12.2001 14:38

VBA mit Word Frage
 
Halli Hallo!
Kann mir jemand erklären was diese Zeile da macht:

ActiveDocument.MailMerge.ViewMailMergeFieldCodes = wdToggle

Irgentwie habe ich keine was das machen könnte!
Vielen Dank für Eure Hilfe!

grüße,
dietz

ReiniBugman 31.12.2001 10:18

Eine Erklärung was ViewMailMergeFields macht findest Du auf
http://msdn.microsoft.com/library/de...FieldCodes.asp

wdToggle vertauscht einfach true mit false und umgekehrt. D.h. wenn Du also bspw. mit einem Button die Felder ein/ausschalten willst setzt du ViewMailMergeFieldCodes auf wdToggle.


Alle Zeitangaben in WEZ +2. Es ist jetzt 20:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag