03-29-2023
12:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
03-29-2023
12:04 PM
I figure this is simple but not sure
Anyone have a code to take a number like this 524641-524 and to only pull the last 3 digits of it for use elsewhere?
Solved! Go to Solution.
03-29-2023
12:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
03-29-2023
12:36 PM
try something like this:
Dim number = "524641-524"
Dim numberParts = number.Split("-")
Dim firstPart = numberParts(0)
Dim secondPart = numberParts(1)
MsgBox(secondPart)
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com
03-29-2023
01:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report