Jump to content

writing an excel cell with a linebreak embedded in the text

Recommended Posts

  • Moderators

I find that only @crlf does it in excel. @cr did not work in the script below.

#include <excel.au3>
$oExcel = _ExcelBookNew(1)
_ExcelWriteCell($oExcel, "This is " & @CRLF & "a test", 1, 1)

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...