S
Sharon
On our centralized forms the date field is used so the
user has the correct date. However, my boss does not
want that field kept that way because when he goes back
to the letter he wants to know the date it was actually
typed. So, I created the below macro to replace the date
field with regular text:
Application.Browser.Target = wdBrowseField
Application.Browser.Next
Selection.Extend
Selection.MoveRight Unit:=wdWord, Count:=1
Selection.Cut
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.PasteAndFormat (wdPasteDefault)
The problem is that it does not change the date in the
header. I thought if I added the "View, Header" plus the
above macro, it would work. Unfortunately, it is not
working. Any help would be appreciated.
Thanks.
user has the correct date. However, my boss does not
want that field kept that way because when he goes back
to the letter he wants to know the date it was actually
typed. So, I created the below macro to replace the date
field with regular text:
Application.Browser.Target = wdBrowseField
Application.Browser.Next
Selection.Extend
Selection.MoveRight Unit:=wdWord, Count:=1
Selection.Cut
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.PasteAndFormat (wdPasteDefault)
The problem is that it does not change the date in the
header. I thought if I added the "View, Header" plus the
above macro, it would work. Unfortunately, it is not
working. Any help would be appreciated.
Thanks.