change all cells in a columns format?

inspin

New Member
Joined
Oct 29, 2002
Messages
24
its simple I just cant get it..

change the format of all the cells in one column from General to text

any ideas?

thanks,
Ins
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
Hi - welcome to the board.

select the column, right click, select format cells..., select the number tab, select text, hit OK

paddy
 

inspin

New Member
Joined
Oct 29, 2002
Messages
24
OOOPS!

my fault!

i ment with VBA!

sorry about that i wasnt thinking but thanks for welcoming me

-Ins
 

Yogi Anand

MrExcel MVP
Joined
Mar 12, 2002
Messages
11,454
Hi Inspin:

You can use ...

Columns("A:A").Select
Selection.NumberFormat = "@"

Regards!
Yogi Anand
 

Forum statistics

Threads
1,144,434
Messages
5,724,334
Members
422,545
Latest member
zillafreak

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
Top