This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
1
[Excel] Get VBA to recognize µ?
Post Flair (click to view more posts with a particular flair)
Author Summary
MidKnightDreary is
in
Excel
Post Body
So I'm trying to get VBA to recognize the mu character () as part of a SI Prefix detector and automatic adjuster. Any tips? It seems to not be working right now. Milli- and nano- work fine though.
If InStr(1, Cells(10, ActiveCell.Column).Value, "m", vbTextCompare) <> 0 Then
NewLI = NewLI * 1000
ElseIf InStr(1, Cells(10, ActiveCell.Column).Value, "µ", vbTextCompare) <> 0 Then
NewLI = NewLI * 1000000
ElseIf InStr(1, Cells(10, ActiveCell.Column).Value, "n", vbTextCompare) <> 0 Then
NewLI = NewLI * 1000000000
End If
Cheers!
Author
Account Strength
100%
Account Age
9 years
Verified Email
Yes
Verified Flair
No
Total Karma
28,040
Link Karma
4,156
Comment Karma
23,635
Profile updated: 1 day ago
Posts updated: 9 months ago
Subreddit
Post Details
Location
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/vba/comment...