Write from mql4 into an Excel file
You don't. Excel is a propriety binary format (values, forumulas, formatting, etc.). Don't try.
Write a CSV file that Excel can read in.
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
HI. Sorry for the perhaps trivial question, but what is the easiest way to write from mql4 into an existing Excel file?
Not trivial at all. But it depends on what you're trying to achieve.
You may need to use Excel VBA from within the spreadsheet to read in the new values from a .csv file populated from a MQL EA.
Or just import the csv file.
Again, it depends on what you're doing.
HI. Sorry for the perhaps trivial question, but what is the easiest way to write from mql4 into an existing Excel file?