Upper Case

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Try:

StrConv([NameField], vbProperCase)

This works in Access 2000 - I don't know about earlier versions.
 
Upvote 0
I'm using XP and it doesn't seem to work...I'm using it within an Access Report...I tried putting single and double quotes around vbProperCase, but it doesn't take either way...
 
Upvote 0
I'm using XP and it doesn't seem to work
How?

I tried putting single and double quotes around vbProperCase
You don't need quotes it's a VB constant.

Is the report based on a query?

If it is why not use whay I posted in the query?

eg ProperName:StrConv([NameField], vbProperCase)

BTW remember to change the field names.
 
Upvote 0
It does not work in a query or in a report. It did not work without quotes or with quotes, and if I do not put quotes around vbProperCase, Access automatically puts brackets [] around it. This is the field I've put in my query:

EName: StrConv([ch_EngineerName], vbProperCase)

It comes back with brackets[] around vbProperCase and asks for a value for vbProperCase.

I notice that 'StrConv' only shows up in the Help section of the VBA Editor, but not generally in Access...perhaps I'm missing something else?
 
Upvote 0

Forum statistics

Threads
1,221,841
Messages
6,162,314
Members
451,759
Latest member
damav78

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top