Hi,I have a document with a userform that runs when the file is opened. In this from is a textbox with the name 'wfi'.When the form is closed, it puts the value entered in the box call 'wfi' at a bookmark.Now the 'wfi.value' will be a number and *sometimes* it will be prefixed with the letter 'P'.What I want to do is only have the numerical part of 'wfi.value' put where the bookmark is.can anyone help? At the moment, my code is:Selection.GoTo What:=wdGoToBookmark, Name:="wfi"Selection.TypeText Text:=wfi.Value
This thread is now locked and can not be replied to.
Best phone camera 2017
Stunning new film posters by Hattie Stewart, Joe Cruz & more
iPad Pro 10.5in (2017) review
28 astuces pour profiter au mieux de votre iPhone
© Copyright 2017 IDG UK. All Rights Reserved.