Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default how to escape "+" or " -"

Hi all,
when I input "+" or" -", there is alway a marqueue, how can I prevent the
marqueue?

Clara
thank you so much for your help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,117
Default how to escape "+" or " -"

i didn't understand WHAT the heck you were talking about, so i tried
it - now i understand.
when you put + or -, excel thinks it's part of a formula & is looking
for the next value of the formula, hence the marqueue (or, as some
people call it, the marching ants).
if you want JUST that character in a cell, use an apostrophe before it
& that will tell excel it is a text cell, not part of a formula
'+
or
'-

hope this helps!
susan


On Mar 22, 1:33 pm, clara wrote:
Hi all,
when I input "+" or" -", there is alway a marqueue, how can I prevent the
marqueue?

Clara
thank you so much for your help



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default how to escape "+" or " -"

Hi Susan,

Thank you very much! Here is another question.
When I use code to assign "'+" or "'-" to a range, the apostrophe is also
displayed which is not wanted. How can I do it?

Clara

thank you so much for your help


"Susan" wrote:

i didn't understand WHAT the heck you were talking about, so i tried
it - now i understand.
when you put + or -, excel thinks it's part of a formula & is looking
for the next value of the formula, hence the marqueue (or, as some
people call it, the marching ants).
if you want JUST that character in a cell, use an apostrophe before it
& that will tell excel it is a text cell, not part of a formula
'+
or
'-

hope this helps!
susan


On Mar 22, 1:33 pm, clara wrote:
Hi all,
when I input "+" or" -", there is alway a marqueue, how can I prevent the
marqueue?

Clara
thank you so much for your help




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,117
Default how to escape "+" or " -"

i didn't know, so i turned on the macro recorder & recorded inputting
'+ & '-........
this is what i got

Sub Macro1()
'
' Macro1 Macro
' Macro recorded 3/22/2007 by Susan
'
ActiveCell.FormulaR1C1 = "'+"
Range("D4").Select
ActiveCell.FormulaR1C1 = "'-"
Range("E4").Select
End Sub

and the apostrophe disappears when it's entered when i run the code...
maybe this will give you some direction in your code?
:)
susan


On Mar 22, 4:04 pm, clara wrote:
Hi Susan,

Thank you very much! Here is another question.
When I use code to assign "'+" or "'-" to a range, the apostrophe is also
displayed which is not wanted. How can I do it?

Clara

thank you so much for your help



"Susan" wrote:
i didn't understand WHAT the heck you were talking about, so i tried
it - now i understand.
when you put + or -, excel thinks it's part of a formula & is looking
for the next value of the formula, hence the marqueue (or, as some
people call it, the marching ants).
if you want JUST that character in a cell, use an apostrophe before it
& that will tell excel it is a text cell, not part of a formula
'+
or
'-


hope this helps!
susan


On Mar 22, 1:33 pm, clara wrote:
Hi all,
when I input "+" or" -", there is alway a marqueue, how can I prevent the
marqueue?


Clara
thank you so much for your help- Hide quoted text -


- Show quoted text -



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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ... Maria J-son[_2_] Excel Programming 2 March 5th 06 12:20 PM


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