Find System by Name

Wait


 

Forum: C2 Software Development

New?Last PostPosted By#Subject
6/13/13 (11:20)Trader X1Help with Radarscreen automation
6/10/13 (10:11)Alen Salvador2Problem with Ninja Today
6/04/13 (15:14)Frances Horton2Ninja Trader
5/28/13 (9:09)Matthew Klein2Can't access
5/24/13 (1:31)Tom Balabanov5Auto order entry
4/23/13 (23:09)Matthew Klein3Reversing a Position Using Tradestation
4/03/13 (22:23)Greg Hanowski3sync suggestion
 
Older subjects >>



Post new message

 
Subject:Duplicate Excel API Commands
Posted by:The Merlin Trading Group ( C2 Score: 987)  New msg
 
Ignore user's posts for week month forever
When:2/25/08 (15:40) 
Systems:
 
Okay, I solved my problem. Basically, for whatever reason, a hyperlink always sends the double hit, whether it is in a macro or just clicked on a sheet, but if I use the VBS query table construct, i.e. "URL:http://www.collective2.com/...."; then only one command gets sent.
  
 
Subject:Duplicate Excel API Commands
Posted by:Flo Boe ( C2 Score: 936)  New msg
 
Ignore user's posts for week month forever
When:4/10/08 (15:53) 
Systems:
 

In response to post by The Merlin Trading Group of 2/25/08 (15:40)

Okay, I solved my problem. Basically, for whatever reason, a hyperlink always sends the double hit, whether it is in a ...

See entire

I got the same problem. But I don't understand your solution. Could you describe it more detailed?
I write in my Visual Basic Code: ActiveWorkbook.FollowHyperlink ...
How did you solve the duplication problem?
Thank you for help!
  
 
Subject:Duplicate Excel API Commands
Posted by:The Merlin Trading Group ( C2 Score: 987)  New msg
 
Ignore user's posts for week month forever
When:6/09/08 (23:15) 
Systems:
 

In response to post by Flo Boe of 4/10/08 (15:53)

I got the same problem. But I don't understand your solution. Could you describe it more detailed?
I write in my Visual Basic Code: ActiveWorkbook.FollowHyperlink ......

See entire

If you construct a hyperlink on a workbook sheet and execute it by clicking on it or invoking it in a macro, duplicate commands are sent. However, if I use the following VBS construct from within a macro, only one command is sent:

With ActiveSheet.QueryTables.Add(Connection:=C2CmdStr, Destination:=Range("A42"))
.Name = "url"

C2CmdStr is a variable that is constructed based on what needs to be done.
  
 
Subject:Duplicate Excel API Commands
Posted by:The Merlin Trading Group ( C2 Score: 987)  New msg
 
Ignore user's posts for week month forever
When:6/10/08 (12:50) 
Systems:
 

In response to post by The Merlin Trading Group of 6/09/08 (23:15)

If you construct a hyperlink on a workbook sheet and execute it by clicking on it or invoking it in a macro, duplicate commands are sent. However, if I use the following VBS construct from within a macro, only one command is sent: ...

See entire

As an example, the following would be the value of "C2CmdStr" to GetCurrentPosition...

URL:http://www.collective2.com/cgi-perl/signal.mpl?cmd=positionstatus&symbol=xxxx&systemid=1234567&pw=xx xxxxxx
  
Back up to list of subjects