Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-09-2014, 09:42 AM
Greengecko Greengecko is offline Non-printing button to convert a date field to text Windows 7 64bit Non-printing button to convert a date field to text Office 2010 64bit
Novice
Non-printing button to convert a date field to text
 
Join Date: Sep 2014
Posts: 7
Greengecko is on a distinguished road
Default Non-printing button to convert a date field to text

Hello,
I have a memo-type document in which I want to provide the current date so the user doesn't have to type it. I have added a button that converts a date field into text. I marked the date with the bookmark, "Date" and made a button that uses the following code:

Selection.GoTo What:=wdGoToBookmark, Name:="Date"
Selection.Fields.Unlink



The trouble is, I really would like the button to just disappear, or at least not print. Is that possible in Word VBA? Thanks.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-printing button to convert a date field to text Add button or clickable text to form that opens up user's email client with To field populated richiebabes Word VBA 3 09-04-2014 09:21 PM
Excel pivot table with a DATE value field for some reason stops at a certain date angie450 Excel Programming 2 08-19-2014 08:50 AM
Adding text before a date merge field AND fomatting date as well NikkiR Mail Merge 1 08-06-2014 07:18 PM
Date field inserting merge date in blank field Lesley Mail Merge 5 09-30-2013 01:49 AM
Convert LISTNUM field codes to text remedios43 Word 2 07-31-2011 09:21 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:37 PM.


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