Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-04-2021, 10:34 AM
RMittelman RMittelman is offline Underlines Appear when Double-Clicking Template Windows XP Underlines Appear when Double-Clicking Template Office 2007
Novice
Underlines Appear when Double-Clicking Template
 
Join Date: Dec 2010
Posts: 18
RMittelman is on a distinguished road
Default Underlines Appear when Double-Clicking Template

So I have a Word template which includes a 2-row table where a signature should appear. On the top-left cell, there is a blank area to sign. In the bottom-left cell, it includes a Shift-Enter and a merge field where a signature title will appear.

If I open the template everything looks fine (I have show paragraph marks on).

If I instead double-click the template name in File Explorer to open a new document based on the template, I get a long series of underlines ("_" 's) where you would put a signature line, just before the Shift-Enter code. The underlines are a bit too long for the table column, so it wraps to the next line, which throws everything off.

This signature line used to appear by design, then I decided to take it out of the template, which I did. Can't figure out why it is missing from the template, but appears in the new document based on the template.

Any ideas? Thanks...

NOTE: Please ignore info next to my name above, I have Windows 10 and Office 2016. Just figured out how to change that, but it didn't refresh for this post. Can't figure out how to change "Novice" to a more experienced status.

Please see the attached snips of the template and new document.
Attached Images
File Type: png Template.png (4.6 KB, 13 views)
File Type: png Document.png (4.7 KB, 13 views)

Last edited by RMittelman; 05-04-2021 at 01:44 PM.
Reply With Quote
  #2  
Old 05-04-2021, 12:12 PM
Charles Kenyon Charles Kenyon is offline Underlines Appear when Double-Clicking Template Windows 10 Underlines Appear when Double-Clicking Template Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,124
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Reply With Quote
  #3  
Old 05-04-2021, 02:44 PM
Guessed's Avatar
Guessed Guessed is offline Underlines Appear when Double-Clicking Template Windows 10 Underlines Appear when Double-Clicking Template Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,967
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

My guess is that you have two templates with the same name. If you use the two methods you described to open the template, is the Attached Template path the same in both cases?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #4  
Old 05-04-2021, 06:13 PM
RMittelman RMittelman is offline Underlines Appear when Double-Clicking Template Windows 10 Underlines Appear when Double-Clicking Template Office 2016
Novice
Underlines Appear when Double-Clicking Template
 
Join Date: Dec 2010
Posts: 18
RMittelman is on a distinguished road
Default

Thanks for the reply, but that's not it. If I find the template with file explorer, I can right-click and choose "Open" to view/edit the template.

Otherwise, I can either double-click or right-click and choose "New" to create a blank document based on the template.

Either way, I'm only dealing with a single template.
Reply With Quote
  #5  
Old 05-04-2021, 06:17 PM
Guessed's Avatar
Guessed Guessed is offline Underlines Appear when Double-Clicking Template Windows 10 Underlines Appear when Double-Clicking Template Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,967
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

In that case you may have a macro in it that runs on AutoNew. Can you post the template here so someone can look at what is happening with your template?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #6  
Old 05-04-2021, 09:39 PM
RMittelman RMittelman is offline Underlines Appear when Double-Clicking Template Windows 10 Underlines Appear when Double-Clicking Template Office 2016
Novice
Underlines Appear when Double-Clicking Template
 
Join Date: Dec 2010
Posts: 18
RMittelman is on a distinguished road
Default

Thanks, don't think that's it. It's a .dotx. Doesn't it need to be a .dotm to have macros?
Attached Files
File Type: dotx CertificateAndThankYouLetter.dotx (20.5 KB, 5 views)
Reply With Quote
  #7  
Old 05-05-2021, 03:50 PM
Guessed's Avatar
Guessed Guessed is offline Underlines Appear when Double-Clicking Template Windows 10 Underlines Appear when Double-Clicking Template Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,967
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You are right, it is not a macro.

Your template is a mailmerge document and the content in question is a merge field which tells Word to include the underline before the merged text in the event of the field NOT being blank.
MERGEFIELD SigTitle1 \b "___________________________"

Did you put the \b switch in the field or did you inherit this from someone?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #8  
Old 05-06-2021, 09:42 AM
RMittelman RMittelman is offline Underlines Appear when Double-Clicking Template Windows 10 Underlines Appear when Double-Clicking Template Office 2016
Novice
Underlines Appear when Double-Clicking Template
 
Join Date: Dec 2010
Posts: 18
RMittelman is on a distinguished road
Default

Wow, good catch Andrew! I did inherit this template, but don't remember if those underlines were programmed into the field or if I put them in and then forgot. Either way, it seems strange that they appear when I open a new document from the template, because the field is empty at that point. I thought the before/after text only appeared when the field had a value after merging. Perhaps they appear always until you do the mailmerge, then get removed if the field has no value? Anyway, thanks for the catch!
Reply With Quote
  #9  
Old 05-06-2021, 03:58 PM
Guessed's Avatar
Guessed Guessed is offline Underlines Appear when Double-Clicking Template Windows 10 Underlines Appear when Double-Clicking Template Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,967
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I would be putting a bottom border on the table cell where these fields sit and removing the underline characters switch. This will give you a permanent bottom line regardless of the field contents but it will be a lot simpler and result in a more consistent look.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #10  
Old 05-07-2021, 02:57 PM
RMittelman RMittelman is offline Underlines Appear when Double-Clicking Template Windows 10 Underlines Appear when Double-Clicking Template Office 2016
Novice
Underlines Appear when Double-Clicking Template
 
Join Date: Dec 2010
Posts: 18
RMittelman is on a distinguished road
Default

Thanks Andrew. I would do that also, except customer doesn't want the underlines anymore. Thanks for all your help!
Reply With Quote
Reply

Tags
word templates

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to force Word to open an unnamed doc when double-clicking a custom template (.dotx) Maysona Word 10 12-26-2020 08:50 PM
Underlines Appear when Double-Clicking Template Insert a number by double Clicking byrner Excel Programming 4 05-20-2018 09:07 AM
Underlines Appear when Double-Clicking Template Formula cells are not highlighted when double clicking result hockeytown Excel 2 12-03-2015 09:57 AM
Underlines Appear when Double-Clicking Template Can't open Word files when double-clicking JosieNurse Word 9 04-21-2015 11:31 AM
Underlines Appear when Double-Clicking Template Outlook .oft template - double-click creates new message but Robarooney Outlook 1 08-05-2009 11:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft