Fixing Data

  • Thread starter Thread starter AutyGraphMan
  • Start date Start date
A

AutyGraphMan

Guest
Hello,

I want to fix data supplied to us and I have everything working up to capitalizing the first letter and getting the rest of the string to be lower case. I am using code originally written by Jay Holovacs.

For example, JOHN comes out John.

However, for company names that are 3 letters, eg: ATT, JBL, etc. I get Att and Jbl - but I want them to remain as 3 capital letters.

I want to create a lookup table that I can first find these 3 letters and then choose to add them to a dictionary for later use. Once in the dictionary, the program will simply leave them as caps.

I am new to VBA, although I am familiar with programming, I need some help getting started.

Thanks, Brian
 
Update

Thanks for this.
 
having said all this, by default access ignores any capitalization, so its only for presentation. It wont affect your dictionary whether letters are upper or lower case
 

Users who are viewing this thread

Back
Top Bottom