Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 03-28-2018, 01:08 PM
slaycock slaycock is offline Adding terms to a search & replace macro Windows 7 64bit Adding terms to a search & replace macro Office 2016
Expert
 
Join Date: Sep 2013
Posts: 255
slaycock is on a distinguished road
Default

Your questions demonstrate your unfamiliarity with VBA.

To run the macro you need to be able to install the macros in your normal template (or other template of your choice).

To do this you will need to enable Developer mode. This is done through file->options->Customize Ribbon

In the right hand column of the dialog box that pops up make sure that the Developer check box is ticked.

This will enable the Developer Tab on the word Ribbon

Select the Developer Tab and click Visual Basic - this will open the VBA IDE.

Copy and paste the code above to the IDE and then close the IDE or minimise it.

In Word, select the Developer Tab again if necessary and then click on Macros. This will present a list of macros that you can run. If you have copied the code correctly this will include the macro 'convert_excel_list_to_lower_case'.


The filepicker is a dialog box which pops up when you run the macro and allows you to navigate to, and select, your excel workbook. This is the workbook you will have created with a list of the words you wish to change to lower case.
Reply With Quote
 

Tags
search and replace



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding terms to a search & replace macro VBA code to compile one document based on multiple search terms Hoxton118 Word VBA 4 04-04-2021 06:02 AM
Adding terms to a search & replace macro Best Practice for Indexing Multiple Word Terms and Sub-Terms jhy001 Word 4 11-06-2017 02:08 PM
Macro on Search and Replace davidhuy Word VBA 1 12-19-2014 04:47 AM
Onenote 2013 search is not identifying search terms correctly Delta223 OneNote 0 08-12-2014 06:40 AM
How do I search for terms in initial upper-case? bertietheblue Word 5 05-02-2012 05:24 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:54 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft