LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default VBA code to define nbr of text character a a cell/column

I am doing a macro to extract data from workbook1 to workbook2 and need
to make:

- String value on a specific column fit into 3 characters in the
destination file. I have about 70 column like this with different
character size.
- Number value with a total of "6.2 decimal" in the destination
file. I think this means 2 decimals.

The problem: I only know how use the button "record a macro" but did
not find the "string" and "decimal" thing in the cell format
menu/option.

If anyone could help out, I would really appreciate it. Once I learn
how to work on 1 column, I can do the rest. Thank you in advance. James

 
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
Excel 2007 - Formatting text in cell (character by character) TomC Excel Discussion (Misc queries) 0 January 29th 10 07:25 PM
Seeking the character code for entering a Hard Return in a cell? JKing Excel Discussion (Misc queries) 2 June 4th 08 11:06 PM
3 text lookup tables use to define contents of a cell McNic Excel Worksheet Functions 3 January 3rd 08 04:16 AM
Find Character in Text and put value in next column c8tz Excel Worksheet Functions 2 February 2nd 07 12:31 AM
How do I define column width that allows multiple lines of text? tx_cowgirl Excel Discussion (Misc queries) 4 February 27th 06 07:42 AM


All times are GMT +1. The time now is 06:29 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"