[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 300
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
without overwriting this buffer.
Then implement it...
And how do you imagine the logic of adding a new cell?
Then implement it...
It's not working out the way I want it to).
I'll have to rewrite it, if that's the case ((.
:) The feminine came out...
And there was a witticism contest...
Oh... men... :)
>
Good evening all! Help solve the problem, because in this language does not make any sense so I appeal to you
The situation is as follows:
There is a part of the code:
Please advise how to make instead of displaying a message the program is trying to open the file again, and so on until it opens.
Thank you all in advance!
Try the while() loop. See here - https://docs.mql4.com/ru/basis/operators/while
))
We don't live without smiles.
>Try the while() loop. See here - https://docs.mql4.com/ru/basis/operators/while
Like this.
Thank you.
Ahhhhhh, I see - the man is trying to open an exel file in text mode, and not just any exel, but version 2007 and above. The file extension is *.xlsx. This is not a text file. An attempt to open it as a text file will result in the following
It wouldn't hurt to save this file in eksel as a text document under a different name and specify new (text) file name in handle=FileOpen("firstfile.xlsx",FILE_CSV|FILE_READ|FILE_WRITE,'\t'); specify the new (text) file name
Thanks.
It's hard to say what the issue is. Take it as a rule in MQL4 that negative numbers in code should always be bracketed. Sometimes errors may occur without brackets.
Although, you shouldn't take negative values in brackets in code lines starting with extern. I don't know why it is so.