Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-01-2021, 08:37 PM
Javi78503 Javi78503 is offline Generate a string only if textbox has been changed Windows 10 Generate a string only if textbox has been changed Office 2019
Novice
Generate a string only if textbox has been changed
 
Join Date: Jul 2021
Posts: 14
Javi78503 is on a distinguished road
Default Possible Solution?

So i've been going over this problem now for a day and some and I think i've been going about this the wrong way.

Would it be easier to do something like:
Code:
If Me.PNBox.Value <> "Person Name" Then
ActiveDocument.Range.InsertParagraphAfter
ActiveDocument.Range.InsertAfter Me.PNBox.Value & ", " & Me.DABox.Value & ", " & Me.TABox.Value
End If
Would that insert those fields at the bottom of the exitsting page? and if so I could just do that for each field I want to add

Last edited by Javi78503; 08-01-2021 at 11:22 PM.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Generate a string only if textbox has been changed Wildcard replace any string in context with a specified string wardw Word 7 05-07-2018 09:13 AM
Generate a string only if textbox has been changed How can I compare a string in a cell to another string? Amitti Word VBA 2 04-10-2017 07:35 PM
How to find all string within string. PRA007 Word VBA 18 02-12-2016 08:11 PM
Generate a string only if textbox has been changed Way to search for a string in text file, pull out everything until another string? omahadivision Excel Programming 12 11-23-2013 12:10 PM
Generate a string only if textbox has been changed Display result in textbox based on the input of another textbox scarymovie Word VBA 5 05-16-2012 07:05 PM

Other Forums: Access Forums

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


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