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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default 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.

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
Importing data. Problem with datatype in column Rolf Barbakken[_2_] Excel Discussion (Misc queries) 4 February 27th 09 06:46 AM
Save as a dbf file changes datatype araki Excel Discussion (Misc queries) 0 November 18th 05 10:42 PM
listbox default datatype grinning_crow[_6_] Excel Programming 0 September 1st 04 11:58 AM
need help- SUB: DATATYPE FOR A CELL.. monika Excel Programming 1 February 13th 04 02:13 PM
DataType Conversion AsimKhaliq Excel Programming 0 January 21st 04 12:40 AM


All times are GMT +1. The time now is 10:23 AM.

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"