Single quote mark ' mark at the beginning of a cell

voodoo

Board Regular
Joined
Apr 7, 2002
Messages
186
This is hopefully an easy question.

Does anyone know what the single quotation mark ' means when entered at the beginning of a cell.

The background is I have been asked to create a macro and I have been sent a template by the cutomer giving formatting and some data.

I notice that the quitation mark does not atually appear in the cell. In other words it appears in the formula bar when entered but disappears from the cell once you press enter.

Before running the macro the user will select an option from two possibilties in a combo box. Depending which they select the macro will enter the selction in the cell in question. The entry is actually in Japanese but this is an example of what is in the cell in the template.

'<<Equity>>

The options being "equity" or "equity broker". I dont know if the << >> marks mean anything either.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
The ' will left-justify the cell's underlyings behind the apostrophe and effectively convert everything following it to text. Whereas<> is typically a numeric operation in XL (not equal to). Hope this helps.

_________________
Cheers,<font size=+2><font color="red"> Nate<font color="blue">O</font></font></font>
wave.gif

This message was edited by NateO on 2002-05-13 21:45
 
Upvote 0
The ' tends to signify text. For example, if you wanted the cell to display
=2354???, and just entered those characters, Excel would return an error, because it thinks you are trying to enter a formula. If you put a ' at the front, it will display
everything but the '.
HTH
Richard
 
Upvote 0
The only time I've come across single quotes with no other obvious purpose is when users have used them to force excel to recognise long number strings (eg credit card numbers) as text when they haven't properly formatted the cells.

Not really an answer, I know, but every little helps?!?

Paddy
 
Upvote 0

Forum statistics

Threads
1,215,851
Messages
6,127,288
Members
449,373
Latest member
jesus_eca

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