How to run code in a Word Document.

How to run code in a Word Document.
I have received a code from an Expert some time ago about organising my foot notes so that some beome end notes and others remain footnotes.
But I am not sure how to run the code. TThe Word Documet  is formatted in Word 2010.
OS Windows 10.

What i have tried: Open the document. Put cursor whete I want code entered. Clicked on 'Insert'. Clicked on 'Objet'. Clicked on 'open document' text'. .Click on 'ok'. Paste the code onto the page of the blank docujment which appears.  NOW I'M STUCK. I notice that the code now also appears in the original document in the place where I put the cursor. BUT HOW DO I GET THE CODE TO RUN.
Michael MurphyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paul SauvéRetiredCommented:
i think this article should help you get the job done:
How to Run VBA Code in Your Word

For most cases, you are often using VBA code to do various tasks in Your Word. However, do you really get hang of the steps to run VBA code? Therefore, in this article, we offer a detailed description of those steps for you.

In the followings, we take Word 2010 as an example to show the detailed steps. And you can easily apply the method to other versions in a similar way.

...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Michael MurphyAuthor Commented:
The advice was spot on. The link given was excellent. Thanks
0
Paul SauvéRetiredCommented:
thanks Michael! glad to be of help
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.