|
-
Oct 19th, 2011, 12:45 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] Distinct Values
From VBA, can I get just the distinct values from part of a Worksheet column ?
The part is the first 7 characters in the cell, there's always an 8th one there but that must be ignored.
Thanks, ABB
-
Oct 19th, 2011, 12:50 AM
#2
Re: Distinct Values
I'm sorry, English isn't my primary language, but could you be a bit more specific about "distinct values"?
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
Oct 19th, 2011, 01:12 AM
#3
Thread Starter
Frenzied Member
Re: Distinct Values
Hi Opus,
Distinct as used in SQL.
-
Oct 19th, 2011, 03:16 AM
#4
Re: Distinct Values
my guess is not
while it is using excel, this is a straight out sql question and may be better placed in the database forum
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Oct 19th, 2011, 03:24 AM
#5
Thread Starter
Frenzied Member
Re: Distinct Values
OK Pete, It wasn't the best thought out question ! I was rushing something.... and in the end a simple few lines of basic ended up sorted it all.
Thanks, ABB
-
Oct 19th, 2011, 07:19 AM
#6
Re: Distinct Values
If the issue is resolved, please mark the thread as such... you can do that by using the Thread Tools menu just above post #1.
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|