ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Setting a column to Text datatype (https://www.excelbanter.com/excel-programming/321255-setting-column-text-datatype.html)

[email protected]

Setting a column to Text datatype
 
I'm sure this is deathly simple but for whatever reason, I can't seem
to discover (either on my own or through other Google posts) how to set
an entire column to the Text datatype through VB6.
Any help would be appreciated.


JE McGimpsey

Setting a column to Text datatype
 
one way:

ActiveSheet.Columns(1).Cells.NumberFormat = "@"


In article .com,
wrote:

I'm sure this is deathly simple but for whatever reason, I can't seem
to discover (either on my own or through other Google posts) how to set
an entire column to the Text datatype through VB6.
Any help would be appreciated.



All times are GMT +1. The time now is 09:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com