Excel(xls) to MQL4
int start() { int handle; string str; handle = FileOpen("any.xls", FILE_CSV|FILE_READ,';'); str=FileReadString(handle);for example this one is not work but may be you show how to do thanks
it doesnt work because i think FILE_CVS FILE_READ, cant read the .xls which is placed in file folder and cant define it to string or int.
i have an indicator for show the data in str as example "Hello" on the chart for testing variables straightly defined or not the variable
mean time
when i do with any.txt its contains "hello world" text and it works i just cant do it with xls
thanks best regards
when i do with any.txt its contains "hello world" text and it works i just cant do it with xls
thanks best regards
so any solutuon or advise ? to do this or u said there is no way to do
thanks
or can we do this from a cvs file that we can use as xls with same method ?
i wonder even if its works is there way to read data from xls file
thanks
Hi forum i was roaming in topics but i coudnt find the exact discus even i was see several similar topic
my question is how to or is there a way to do assign a data in excel cells like "hellowrold" or digits "123124" in G5 cell to an int, bool or double doesnt matter.
if you redirect me to neccesery topic or send an example snippetto here.
thanks best regards..