Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Anomaly, can't format cell

Neight fom GUI nor VBA.

searched google groups found semi-solution:
<<
Type the number 1 in any empty cell (make sure that the
NumberFormat of the
cell with the number 1 is General or Number)
Copy it
Select all problematic date cells
Paste Special = Operation | Multiply


It worked. Question is why and how to fix it.
The cell formula contains RTD function.

Thank you.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Anomaly, can't format cell

The cells contains text instead of numbers. You can't format text (even if
it looks like a number).

What is the RTD function.

--
Regards,
Tom Ogilvy

"Serge" wrote in message
...
Neight fom GUI nor VBA.

searched google groups found semi-solution:
<<
Type the number 1 in any empty cell (make sure that the
NumberFormat of the
cell with the number 1 is General or Number)
Copy it
Select all problematic date cells
Paste Special = Operation | Multiply


It worked. Question is why and how to fix it.
The cell formula contains RTD function.

Thank you.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Anomaly, can't format cell

I see, thanks Tom. I modified RTD server code from
microsoft.
=RTD("Ticks.RTD","station1","IBM","LAST")

I noticed RTD method IRtdServer_RefreshData(TopicCount as
long) as Variant() returns variant type. Is variant type
causing client to display queries as text?
But then I tried using microsoft RTDTime example, I could
format that cell fine.

I would prefer not to use:
=(RTD("Ticks.RTD","station1","IBM","LAST")*1)

The way I populate cells is thru macro:
range("B" & i).formula = "=RTD..."
i=i+1





-----Original Message-----
The cells contains text instead of numbers. You can't

format text (even if
it looks like a number).

What is the RTD function.

--
Regards,
Tom Ogilvy

"Serge" wrote in message
...
Neight fom GUI nor VBA.

searched google groups found semi-solution:
<<
Type the number 1 in any empty cell (make sure that the
NumberFormat of the
cell with the number 1 is General or Number)
Copy it
Select all problematic date cells
Paste Special = Operation | Multiply


It worked. Question is why and how to fix it.
The cell formula contains RTD function.

Thank you.




.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Anomaly, can't format cell

If you wanted it to be a number, I would use:

=(RTD("Ticks.RTD","station1","IBM","LAST")*1)

Not sure why you don't want to.


The lastest kick is
=--(RTD("Ticks.RTD","station1","IBM","LAST")

Maybe you will like that more.

--
Regards,
Tom Ogilvy


"Serge" wrote in message
...
I see, thanks Tom. I modified RTD server code from
microsoft.
=RTD("Ticks.RTD","station1","IBM","LAST")

I noticed RTD method IRtdServer_RefreshData(TopicCount as
long) as Variant() returns variant type. Is variant type
causing client to display queries as text?
But then I tried using microsoft RTDTime example, I could
format that cell fine.

I would prefer not to use:
=(RTD("Ticks.RTD","station1","IBM","LAST")*1)

The way I populate cells is thru macro:
range("B" & i).formula = "=RTD..."
i=i+1





-----Original Message-----
The cells contains text instead of numbers. You can't

format text (even if
it looks like a number).

What is the RTD function.

--
Regards,
Tom Ogilvy

"Serge" wrote in message
...
Neight fom GUI nor VBA.

searched google groups found semi-solution:
<<
Type the number 1 in any empty cell (make sure that the
NumberFormat of the
cell with the number 1 is General or Number)
Copy it
Select all problematic date cells
Paste Special = Operation | Multiply


It worked. Question is why and how to fix it.
The cell formula contains RTD function.

Thank you.




.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Anomaly, can't format cell

You're right, I'll use your suggestion. It's just not all
tickers return back price and multiplying empty by 1
returns ugly #VALUE, but I guess I can handle it
differently.


-----Original Message-----
If you wanted it to be a number, I would use:

=(RTD("Ticks.RTD","station1","IBM","LAST")*1)

Not sure why you don't want to.


The lastest kick is
=--(RTD("Ticks.RTD","station1","IBM","LAST")

Maybe you will like that more.

--
Regards,
Tom Ogilvy


"Serge" wrote in message
...
I see, thanks Tom. I modified RTD server code from
microsoft.
=RTD("Ticks.RTD","station1","IBM","LAST")

I noticed RTD method IRtdServer_RefreshData(TopicCount

as
long) as Variant() returns variant type. Is variant type
causing client to display queries as text?
But then I tried using microsoft RTDTime example, I

could
format that cell fine.

I would prefer not to use:
=(RTD("Ticks.RTD","station1","IBM","LAST")*1)

The way I populate cells is thru macro:
range("B" & i).formula = "=RTD..."
i=i+1





-----Original Message-----
The cells contains text instead of numbers. You can't

format text (even if
it looks like a number).

What is the RTD function.

--
Regards,
Tom Ogilvy

"Serge" wrote in message
...
Neight fom GUI nor VBA.

searched google groups found semi-solution:
<<
Type the number 1 in any empty cell (make sure that

the
NumberFormat of the
cell with the number 1 is General or Number)
Copy it
Select all problematic date cells
Paste Special = Operation | Multiply


It worked. Question is why and how to fix it.
The cell formula contains RTD function.

Thank you.




.



.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Anomaly, can't format cell

Another approach would be to leave that formula alone and use the *1 when
you work with it

in A1 =(RTD("Ticks.RTD","station1","IBM","LAST")
similar in A2, A3

in A4

=A1*1 + A1*2 + A1*3

if you expect them to be numbers

or if you just want to format them, put the formulas in column A, then in B
put in

=if(iserror(A1*1),A1,A1*1)
You could then hide column A perhaps.

Formatting would only be meaningful when a number is returned.

--
Regards,
Tom Ogilvy

Serge wrote in message
...
You're right, I'll use your suggestion. It's just not all
tickers return back price and multiplying empty by 1
returns ugly #VALUE, but I guess I can handle it
differently.


-----Original Message-----
If you wanted it to be a number, I would use:

=(RTD("Ticks.RTD","station1","IBM","LAST")*1)

Not sure why you don't want to.


The lastest kick is
=--(RTD("Ticks.RTD","station1","IBM","LAST")

Maybe you will like that more.

--
Regards,
Tom Ogilvy


"Serge" wrote in message
...
I see, thanks Tom. I modified RTD server code from
microsoft.
=RTD("Ticks.RTD","station1","IBM","LAST")

I noticed RTD method IRtdServer_RefreshData(TopicCount

as
long) as Variant() returns variant type. Is variant type
causing client to display queries as text?
But then I tried using microsoft RTDTime example, I

could
format that cell fine.

I would prefer not to use:
=(RTD("Ticks.RTD","station1","IBM","LAST")*1)

The way I populate cells is thru macro:
range("B" & i).formula = "=RTD..."
i=i+1





-----Original Message-----
The cells contains text instead of numbers. You can't
format text (even if
it looks like a number).

What is the RTD function.

--
Regards,
Tom Ogilvy

"Serge" wrote in message
...
Neight fom GUI nor VBA.

searched google groups found semi-solution:
<<
Type the number 1 in any empty cell (make sure that

the
NumberFormat of the
cell with the number 1 is General or Number)
Copy it
Select all problematic date cells
Paste Special = Operation | Multiply


It worked. Question is why and how to fix it.
The cell formula contains RTD function.

Thank you.




.



.



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
Formula anomaly Bob Excel Worksheet Functions 7 February 8th 10 02:03 AM
Date anomaly HaoHoaMastercard Excel Discussion (Misc queries) 4 October 11th 07 08:05 PM
Sort anomaly supersheet Excel Worksheet Functions 0 August 28th 07 06:57 PM
VLOOKUP Anomaly Tosca Excel Worksheet Functions 6 May 8th 05 09:08 AM
Counta anomaly stimpy[_2_] Excel Programming 1 July 10th 03 06:54 PM


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