Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-29-2020, 03:58 PM
Cray_Z Cray_Z is offline Macro to identify text - create table w/text & page numbers Windows 7 32bit Macro to identify text - create table w/text & page numbers Office 2007
Novice
Macro to identify text - create table w/text & page numbers
 
Join Date: Sep 2014
Posts: 16
Cray_Z is on a distinguished road
Default Macro to identify text - create table w/text & page numbers


I am looking for a macro that will search the active Word document for specific text
and creating a table listing the text and page number(s) that it is found on.

Searching for .text = "\(CCI*\)"

I would like the table to look similar to this:

CCI # Page #
CCI 000808 1, 3, 8
CCI 000805 3

I modified an acronym finding macro and have limited success. It currently identifies the text that I search for but only returns the data for the first occurrence in the document.

I also would like to create the table at the end of the document starting on a new page.

Any assistance will be greatly appreciated.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help creating a macro to identify values that have letters and numbers. Mr J Word VBA 19 08-12-2020 03:57 PM
Text inside text boxes create headings inside my table of contents!!! How do I delete the created he carstj Word 3 04-11-2016 12:46 PM
Macro to identify text - create table w/text & page numbers Macro to Add Text and Page Number to Top of Each Page Within Text eslight Word VBA 10 12-07-2012 08:18 PM
Text and page numbers in footers? MikeT1953 Word 0 07-09-2010 08:14 PM
Add text to page numbers alpruett Word 0 07-07-2010 09:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:50 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