Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
adding a hidden apostrophe to a cell
I need to use a function to add a hidden apostrophe to a cell. For
example, the cell has 2021 and needs to have '2021 with the ' hidden. Does anyone know a function that can do that? Any help is appreciated. Thanks. Dave |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
adding a hidden apostrophe to a cell
hi
if you only have one then you can use the find and replace to do that Ctrl+F replace tab Replace what: 2021 Replace with: '2021 click replace button if you have a lot, then you would be looking a macro. Regards FSt1 "hedgracer" wrote: I need to use a function to add a hidden apostrophe to a cell. For example, the cell has 2021 and needs to have '2021 with the ' hidden. Does anyone know a function that can do that? Any help is appreciated. Thanks. Dave |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
adding a hidden apostrophe to a cell
If you add a hidden apostrophe, you are converting the number to text, if
this is what is intended. Asap utilities it has the function 'convert number to text', in the number selection. http://www.asap-utilities.com/ "hedgracer" wrote in message ... I need to use a function to add a hidden apostrophe to a cell. For example, the cell has 2021 and needs to have '2021 with the ' hidden. Does anyone know a function that can do that? Any help is appreciated. Thanks. Dave |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
adding a hidden apostrophe to a cell
Select the range with the cells that you want to change then run this Macro:
Sub AddIt() For Each cell In Selection cell.Value = "'" & cell.Value Next cell End Sub -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings Replace @mailinator.com with @tiscali.co.uk "hedgracer" wrote in message ... I need to use a function to add a hidden apostrophe to a cell. For example, the cell has 2021 and needs to have '2021 with the ' hidden. Does anyone know a function that can do that? Any help is appreciated. Thanks. Dave |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Apostrophe at the start of a cell | Excel Discussion (Misc queries) | |||
Apostrophe In Every Cell | Excel Discussion (Misc queries) | |||
adding apostrophe macro? | Excel Discussion (Misc queries) | |||
Adding an apostrophe | Excel Discussion (Misc queries) | |||
Cell has an apostrophe and is text | Excel Discussion (Misc queries) |