Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with Select Case
#1
Anyone help with a Select Case problem I have?
I want to select from text, using their ASCII codes, all the letters (A-Z and a-z) in two cases, and all other chars (spaces, punctuation etc.) in another case.
I've tried Case is >=65,<=90 (for the capitals) and Case is >=97, <=122 (for lower case) but it doesn't work - I think it sees all chars above and including A, then adds all letters below and including Z, so it grabs everything.
I think it needs an AND in there somewhere but I can't find a way.
Reply


Messages In This Thread
Help with Select Case - by PhilOfPerth - 04-24-2022, 05:26 AM
RE: Help with Select Case - by johnno56 - 04-24-2022, 06:33 AM
RE: Help with Select Case - by PhilOfPerth - 04-24-2022, 07:26 AM
RE: Help with Select Case - by SMcNeill - 04-24-2022, 06:46 AM
RE: Help with Select Case - by johnno56 - 04-24-2022, 07:28 AM
RE: Help with Select Case - by PhilOfPerth - 04-24-2022, 07:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Testing against multiple elements at a time without select case CMR 4 848 04-17-2025, 02:16 AM
Last Post: CMR
  Select Case error Dimster 9 1,803 12-15-2023, 03:00 PM
Last Post: SpriggsySpriggs
  Select Case mistake Kernelpanic 18 2,920 11-08-2022, 04:28 PM
Last Post: Kernelpanic
  Is Select All not working? PhilOfPerth 13 2,496 08-01-2022, 12:17 AM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)