Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default How to set the format of a cell in excel through vb6

Hi.

I want to set the format of a cell in excel throug vb6.

Already created the excel.application object (xl)m and created workbook.

How would I do it. I would like to set it to text.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to set the format of a cell in excel through vb6

Range("A1").Value = "test"

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default How to set the format of a cell in excel through vb6

Record the formatting operation as a macro, edit it, and you will see it!

Regards,
Stefi

€˛Camper Joe€¯ ezt Ć*rta:

Hi.

I want to set the format of a cell in excel throug vb6.

Already created the excel.application object (xl)m and created workbook.

How would I do it. I would like to set it to text.

Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default How to set the format of a cell in excel through vb6

Thanks.

That makes perfects sense.

Also, thanks on the previous post.

"Stefi" wrote:

Record the formatting operation as a macro, edit it, and you will see it!

Regards,
Stefi

€˛Camper Joe€¯ ezt Ć*rta:

Hi.

I want to set the format of a cell in excel throug vb6.

Already created the excel.application object (xl)m and created workbook.

How would I do it. I would like to set it to text.

Thanks.

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
cell format - remove cell format pattern without effecting colors Bas Excel Discussion (Misc queries) 1 March 23rd 09 02:54 PM
Does Excel have a cell format for lat/long in Ā° min sec format? usudragon Excel Discussion (Misc queries) 1 August 1st 06 06:53 PM
Can Excel 2003 cell link carry with it the source cell format? tom Excel Discussion (Misc queries) 2 July 14th 06 06:14 AM
Excel Auto-Format cell to email format Please Help Me Excel Discussion (Misc queries) 1 March 23rd 06 05:15 PM
cell format for date/time in same cell excel 2003 Sandy Excel Worksheet Functions 1 January 18th 06 03:46 AM


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

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"