![]() |
#2
|
||||
|
||||
![]()
Word Perfect uses macros in a different way from Word, but you can do much the same sorts of things. e.g. to show the bookmark dialog
Code:
Sub ShowBkMkDialog() Dialogs(wdDialogInsertBookmark).Show End Sub For the parentheses Code:
Sub ParensTextCaps() Dim oRng As Range Set oRng = ActiveDocument.Range With oRng.Find Do While .Execute(FindText:="\(*\)", MatchWildcards:=True) oRng.Case = wdUpperCase oRng.Collapse 0 Loop End With lbl_Exit: Set oRng = Nothing Exit Sub End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
RobertWA | Word | 1 | 12-21-2015 05:41 AM |
Transition from WordPerfect to Word | rbrlaw | Word | 3 | 03-18-2015 10:58 AM |
Macros from WordPerfect X4 to Word2010 | chris13 | Word | 7 | 06-11-2013 10:45 AM |
![]() |
kjohnsn | Outlook | 2 | 03-25-2011 06:00 PM |
![]() |
Ranger | Outlook | 1 | 10-04-2010 05:29 PM |