![]() |
|
|
|
#1
|
|||
|
|||
|
Greg,
That code works great - thanks! And thanks for all the free code and help that you provide online. I'd like to offer you the attached "Count_Column_Items" macro that I cobbled together recently to be able to count the entries in a Word column regardless of whether they are numeric or non-numeric (which =COUNT ignores). I had to work out a way to determine if the cursor was actually inside a table (because wdWithInTable tells VBA the cursor is in a table even when it's to the immediate right of a table, which causes an error when trying to get the column number). The code might be awkward but it works...feel feel to offer it to others on your site. |
|
| Tags |
| autotextlist, extract, field |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Macro to find text and replace with form field containing that text
|
iiiiifffff | Word VBA | 16 | 06-04-2016 01:47 AM |
| Macro to find coloured text and replace with form-field/formtext containing that text | tarktran | Word VBA | 1 | 11-26-2014 08:12 AM |
Word 2007 Macro Fillin Field to Text
|
mhblake | Word VBA | 5 | 01-08-2014 08:22 AM |
| Autotextlist Gone | Wilson | Word | 1 | 04-04-2010 02:44 PM |
Extract email address from field
|
zssteen | Excel | 1 | 06-19-2009 02:32 AM |