![]() |
#1
|
|||
|
|||
![]()
I receive around 10 word documents (97-2003 version) every day that I need to convert to HTML, but the check boxes won't show up in HTML because they are not ActiveX. Is there an easy way to convert all existing legacy checkboxes to ActiveX checkboxes? Even better would be if I could convert all legacy checkboxes to ActiveX for a whole batch of word documents.
I need an automatic way of doing this. Thoughts? |
#2
|
||||
|
||||
![]()
Hi GreenPolyps,
That is possible, using a macro like: Code:
Sub Demo() Dim Rng As Range, i As Long With ActiveDocument For i = .FormFields.Count To 1 Step -1 With .FormFields(i) If .Type = wdFieldFormCheckBox Then Set Rng = .Range .Delete With Rng .InlineShapes.AddOLEControl ClassType:="Forms.CheckBox.1" .MoveEnd wdWord, 1 .InlineShapes(1).Width = .InlineShapes(1).Height End With End If End With Next End With End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
jellyrolls | Office | 4 | 07-15-2011 08:07 PM |
Table - Check Boxes - Create Select All | lajohn1963 | Word Tables | 2 | 09-25-2010 11:18 AM |
Can't open .pst legacy files | RetiredEngineer | Outlook | 1 | 11-14-2009 01:06 PM |
Problem with Developer Form -- Check Boxes and Text Boxes | PCC | Word | 1 | 05-16-2009 05:22 AM |
![]() |
kim | Outlook | 3 | 02-17-2009 10:34 AM |