| To: | REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | RB and VBA constants in Word Automation |
| From: | Daniel <merantais at free dot fr> |
| Date: | Thu, 31 Jan 2002 11:12:49 +0100 |
Hi all, RB doesn't accept the VBA constants such as wdFindContinue or wdReplaceAll. How is it possible to write them in order that the compiler doesn't complain? Here is the code: Dim word as wordApplication Dim doc as wordDocument .... word = new wordApplication .... word.selection.find.clearFormatting word.selection.find.Forward = True word.selection.find.Wrap = wdFindContinue // No ! Thank you for your help. Daniel |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: iPhoto, Realbasic & Drag and Drop Part 2, stephan huber |
|---|---|
| Next by Date: | Launching an external app and waiting for it to quit, Frédéric Calendini |
| Previous by Thread: | Re: Calling compiled AppleScripts, Patrick Wynne |
| Next by Thread: | Re: Calling compiled AppleScripts, Frank Bitterlich |
| Indexes: | [Date] [Thread] [Top] [All Lists] |