Writing from Excel to a Global Variable.... Seeking help

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
arjfca
Posts: 1263
Joined: 23 Nov 2010
Has thanked: 717 times
Been thanked: 221 times

Writing from Excel to a Global Variable.... Seeking help

Postby arjfca » 12 Jul 2011

Hello

An unresolved problem for me. Is it possible from Excel to wrote and read to global variables.
If so any help truly appreciated.

A simple Global variable test to set and retrieved a value within MC. Now, I need to do the same using VBA in Excel. I understand that it may not be the good forum for that.

Code: Select all

[IntraBarOrderGeneration = true]

Var:
intrabarpersist String1 (""),
intrabarpersist Value2 (0);
   
   String1 = "Test Martin2" ;
   Value2 = GVSetString(1, String1);
   String1 = "";
   String1 = GVGetString(1);
   print (string1);

end;
Martin

Return to “User Contributed Studies and Indicator Library”