Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2007

Tip: Looking for answers? Try searching our database.

Macros to return a value in Word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rex - 17 Jan 2007 00:12 GMT
Hi,

I would like a macro in WORD to return a value so that I can call the
function as I would normally do it in ACCESS.

I know I am asking this question in the wrong forum.. but really I dont

know where to post this.

I would appreciate any sorts of help on this matter

Thankyou

Rex
Rex - 17 Jan 2007 00:16 GMT
Please ignore the sentence

"I know I am asking this question in the wrong forum.. but really I
dont know where to post this."

Thank you
Jezebel - 17 Jan 2007 03:49 GMT
Declare it as a function, just as you would in Access VBA.

Public Function MyFunction() as whatever
...
end function

> Hi,
>
[quoted text clipped - 10 lines]
>
> Rex
Perry - 17 Jan 2007 18:26 GMT
> I would like a macro in WORD to return a value so that I can call the
> function as I would normally do it in ACCESS.
Would you like Word VBA to return a value in MS Word GUI?
Or do you want Word VBA to return a value in Word VBE?

> function as I would normally do it in ACCESS.
How should we read this ...

Krgrds,
Perry

> Hi,
>
[quoted text clipped - 10 lines]
>
> Rex
Rex - 06 Feb 2007 23:59 GMT
I would like WORD VBA to return a value in MS WORD GUI

> > I would like a macro in WORD to return a value so that I can call the
> > function as I would normally do it in ACCESS.
[quoted text clipped - 25 lines]
>
> - Show quoted text -
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.