Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apostrophe at the start of a cell Nic Excel Discussion (Misc queries) 2 November 27th 06 04:27 PM
Apostrophe In Every Cell astrange Excel Discussion (Misc queries) 4 April 7th 06 04:59 PM
adding apostrophe macro? GolfGal Excel Discussion (Misc queries) 2 April 24th 05 04:39 PM
Adding an apostrophe Jeff Excel Discussion (Misc queries) 2 March 9th 05 04:02 PM
Cell has an apostrophe and is text Carole O Excel Discussion (Misc queries) 2 March 3rd 05 08:09 PM


All times are GMT +1. The time now is 04:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"