Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Why does my formula bar display a lengthy string, but my cells display #####?

Hello--I have a somewhat complex macro that fills a number of cells
with numbers and words that are formatted as text ("@"). For some
reason, it fills certain cells with ##### even as the menu bar displays
their proper contents. Does anyone have an idea of where I might start
looking to solve thie problem?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Why does my formula bar display a lengthy string, but my cells display #####?

try making the column width bigger?


wrote in message
oups.com...
Hello--I have a somewhat complex macro that fills a number of cells
with numbers and words that are formatted as text ("@"). For some
reason, it fills certain cells with ##### even as the menu bar displays
their proper contents. Does anyone have an idea of where I might start
looking to solve thie problem?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Why does my formula bar display a lengthy string, but my cellsdisplay #####?

If the amount of text is between 255 and 1024 characters and the cell is
formatted as text, then you'll see ####'s.

Try changing the format to General.

If you need to force text (say you have 300 digits to put in the cell), just
prefix the entry with an apostrophe:

dim myVal as string
myval = "123412341234123412.....etc for 300 digits!"
activecell.value = "'" & myval


wrote:

Hello--I have a somewhat complex macro that fills a number of cells
with numbers and words that are formatted as text ("@"). For some
reason, it fills certain cells with ##### even as the menu bar displays
their proper contents. Does anyone have an idea of where I might start
looking to solve thie problem?


--

Dave Peterson
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
Cells display as R5C5. How do I change it to display E5? FinanceTrainer Excel Discussion (Misc queries) 2 December 14th 09 08:27 PM
How to display the values of multiple cells in a text string? Robert R Excel Worksheet Functions 1 October 13th 09 12:14 AM
some cells display formulas, some display values mvivelo Excel Discussion (Misc queries) 1 March 27th 08 10:09 PM
Cells only display formula waladd Excel Worksheet Functions 10 July 24th 07 12:58 PM
Formula cells needs to display "zero" hello Excel Discussion (Misc queries) 1 September 8th 05 05:51 AM


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