ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,699
- Office Version
- 2007
- Platform
- Windows
Hi all,
I have a user form which has various text boxes containing info.
One text box relates to a word doc receipt as just a basic number system.
Is there a code we can use to apply to a button on the user form that would then look at a specific text box and open its relevant word doc receipt.
The text box which contains the receipt number on the user form is txtInvoiceNumber
The path to the word doc is C drive,REMOTES ETC,DR COPY INVOICES,Invoice 107.doc
Obviously this receipt is 107 but as time goes on more will be added 108,109,110 etc etc
Any advice would be great thanks.
I havent applied a button yet as awaiting code info.
I have a user form which has various text boxes containing info.
One text box relates to a word doc receipt as just a basic number system.
Is there a code we can use to apply to a button on the user form that would then look at a specific text box and open its relevant word doc receipt.
The text box which contains the receipt number on the user form is txtInvoiceNumber
The path to the word doc is C drive,REMOTES ETC,DR COPY INVOICES,Invoice 107.doc
Obviously this receipt is 107 but as time goes on more will be added 108,109,110 etc etc
Any advice would be great thanks.
I havent applied a button yet as awaiting code info.