cyrilbrd
Well-known Member
- Joined
- Feb 2, 2012
- Messages
- 4,113
- Office Version
- 365
- Platform
- Windows
- Mobile
Hi,
Given a UserForm with a TextBox named TextBox1
The textbox will feed data to an excel table using the following code:
We would like the user to encode 6 numbers example 123456 that would show in the table as "STATUS-12-3456"
So if 230123 was typed in the textbox, the following would appear in the table "STATUS-23-0123"
Any advice?
Given a UserForm with a TextBox named TextBox1
The textbox will feed data to an excel table using the following code:
VBA Code:
Sheets("Data").Range("Data_Start").Offset(TargetRow, 6).Value = TextBox1
We would like the user to encode 6 numbers example 123456 that would show in the table as "STATUS-12-3456"
So if 230123 was typed in the textbox, the following would appear in the table "STATUS-23-0123"
Any advice?