Word Vba - embed function in to a Word document

As in Excel, one can create custom functions and call them from within Excel itself.

Any such method in Word?  Such as embedding functions within the Word doc so that they return a value in the document?  I'm trying to avoid a search and replace.

My name is {getName()}.

LVL 16
Who is Participating?
GrahamSkanConnect With a Mentor RetiredCommented:
You can write something in VBA to open or create an instance of the Excel application, then open a workbook do some Excel-specific work and briing the results back to Word.

What are you hoping to do?
Aaron TomoskyConnect With a Mentor SD-WAN SimplifiedCommented:
Like a mail merge?
carsRSTAuthor Commented:
Just a custom VBA function
carsRSTAuthor Commented:
From what I'm gathering it's not possible, as it is in Excel.  
Indirectly, you both answered what I was really asking.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.