Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default cell format text

Hi there,
I code program based on Excel 2000 OLE. I need set number format of cell
(range) to text, but I cannot get the right way from MS reference. Can
anybody guide me how to do that?

Thanks in advance

Jan ©ejnoha


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default cell format text

Hi Jan,

Try something like:

Range("A1:A10").NumberFormat = "@"


---
Regards,
Norman



"Jan ©ejnoha" wrote in message
...
Hi there,
I code program based on Excel 2000 OLE. I need set number format of cell
(range) to text, but I cannot get the right way from MS reference. Can
anybody guide me how to do that?

Thanks in advance

Jan ©ejnoha



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default cell format text

Thanks a lot, it works!

"Norman Jones" pí¹e v diskusním pøíspìvku
...
Hi Jan,

Try something like:

Range("A1:A10").NumberFormat = "@"


---
Regards,
Norman



"Jan ©ejnoha" wrote in message
...
Hi there,
I code program based on Excel 2000 OLE. I need set number format of cell
(range) to text, but I cannot get the right way from MS reference. Can
anybody guide me how to do that?

Thanks in advance

Jan ©ejnoha





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
word match in string text in cell, color format cell jpmahony Excel Discussion (Misc queries) 1 October 31st 07 03:56 PM
Compare text in cell to custom text format?? Tommy[_4_] Excel Discussion (Misc queries) 1 July 20th 07 02:45 PM
Can not see text in Excel when cell format is set to wrap text Mark New Users to Excel 1 May 29th 07 02:07 PM
Making cell reference absolute makes cell format text Excel Worksheet Functions 2 September 22nd 06 04:47 PM
Cell Format - $ and Text Minitman Excel Worksheet Functions 0 November 30th 05 04:41 PM


All times are GMT +1. The time now is 02:59 AM.

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"