#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Andrew
 
Posts: n/a
Default Make Cells Text

I often need to change the format of a cell to text. Whilst I do know how to
do this I frequently have to change a whole column into text and if this runs
to many hundreds I need a quick way to do it. Does anyone know how to do this
quickly and easily? Can a macro be created to do it for me for instance?

Thanks

Andrew
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default Make Cells Text

Highlight the entire column by left-clicking on the LETTER at the top, A, B,
C, etc. Then Right-click FormatCells NumberTab Text OK

Vaya con Dios,
Chuck, CABGx3



"Andrew" wrote:

I often need to change the format of a cell to text. Whilst I do know how to
do this I frequently have to change a whole column into text and if this runs
to many hundreds I need a quick way to do it. Does anyone know how to do this
quickly and easily? Can a macro be created to do it for me for instance?

Thanks

Andrew

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mark Dullingham
 
Posts: n/a
Default Make Cells Text

Hi Andrew
Try recording what CLR suggested as a macro.
Check out the help files on 'Create a Macro' but basically do this
goto Tools - Macros - Record a Marco
create it in the active sheet and start recording then do what was sugested
below and when your done hit the stop button on the little popup window and
hey presto ..........you've got a macro that will format what evercolums you
selected in to text format. You can select multiple columns by holding the
ctrl key down as you make youre selection and when you've done the last one
then do the right clickformatcellsnumbertabtextok............now youve
done loads of columns in one go, Works accross sheets as well.
Once youve got the desired macro you can nick the code out of it by going to
tools - macros - select the one you want - edit and copying the bit that does
what you want.
You then could add a command button (contols toolbar) go to propeties and
change the Caption to say, 'Format to Text'. Then go to the sheet tab, right
click and view code.
Between the
Private Sub CommandButton1_Click()

End Sub
paste in the code from your recorded macro and now you can run the macro
from the button on your sheet.
If you want to change it back just record a macro doing just that and repeat
the rest.

I've only just started doing this kind of stuff and copy code from macros is
a great way of getting started.

"CLR" wrote:

Highlight the entire column by left-clicking on the LETTER at the top, A, B,
C, etc. Then Right-click FormatCells NumberTab Text OK

Vaya con Dios,
Chuck, CABGx3



"Andrew" wrote:

I often need to change the format of a cell to text. Whilst I do know how to
do this I frequently have to change a whole column into text and if this runs
to many hundreds I need a quick way to do it. Does anyone know how to do this
quickly and easily? Can a macro be created to do it for me for instance?

Thanks

Andrew

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
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Linked cells and text boxes Alexlondon11 Excel Discussion (Misc queries) 2 November 23rd 05 04:10 PM
replacing text in all cells with existing text plus something avi2001 Excel Discussion (Misc queries) 2 November 2nd 05 04:29 PM
Cells formated as numbers are calculating like text MM_BAM Excel Discussion (Misc queries) 4 July 7th 05 01:29 AM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM


All times are GMT +1. The time now is 10:39 PM.

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

About Us

"It's about Microsoft Excel"