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: 60
Default how to enter a string value into a cell?

These are my codes:
---------------------------------
dim aa_txt as string

aa=0.125

aa_txt=format(aa,"0.00%")

activecell.value=aa_txt
----------------------------------
It doesnt work. I got 12.50% into the cell, but it is still a VALUE, not a
TEXT. Pls correct me. Many thanks.

 
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
Enter multiple numbers in a cell so total shows when enter keypres newbie Excel Worksheet Functions 2 August 19th 07 12:23 PM
How do I insert a hard break (alt enter) in a concatenated string Alphafiction Excel Discussion (Misc queries) 5 February 24th 07 08:11 PM
Finding the last cell to enter a string and/or a sum formula rojobrown Excel Worksheet Functions 5 October 3rd 06 09:36 PM
Does Alt-Enter insert a non-printing character in a cell string? Henry Stock Excel Programming 3 February 23rd 05 09:28 PM
How do I enter a decimal in a string of numbers in Excel? Example. Joy Excel Discussion (Misc queries) 1 February 9th 05 11:42 PM


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

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"