View Single Post
 
Old 06-20-2024, 07:18 PM
rimmerthecat rimmerthecat is offline Windows 10 Office 2021
Novice
 
Join Date: Jun 2024
Posts: 4
rimmerthecat is on a distinguished road
Default

very basically im creating a form to use to record the purchase of scrap metal, more often than not a customer has more than one type of metal, what id like to happen is you enter the type of metal into a text box on a form, click a button and the data is transferred to a doccument and the text box is cleared ready for a second type of metal etc

here is what i have at the moment, apologies im sure it looks horrible

:
Private Sub ADDCOMMODITY_Click()
Selection.GoTo What:=wdGoToBookmark, Name:="COMMODITY"
Selection.TypeText Text:=COMMODITYBOX
Selection.TypeParagraph

End Sub

hope this is helpful
Reply With Quote