ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Imput box - Multiple Lines (\n) (https://www.excelbanter.com/excel-programming/296792-imput-box-multiple-lines-%5Cn.html)

Nikkih[_4_]

Imput box - Multiple Lines (\n)
 
Is there a way to make a line break in an input box like you would i
C++ like \n

--
Message posted from http://www.ExcelForum.com


john

Imput box - Multiple Lines (\n)
 
Yes, try this:

InputBox "Test" & vbCrLf & "Test2"

www.spreadsheetsolutions.com

-----Original Message-----
Is there a way to make a line break in an input box like

you would in
C++ like \n?


---
Message posted from http://www.ExcelForum.com/

.


TKT-Tang

Imput box - Multiple Lines (\n)
 
Vaguely recall that it's "vbCrLf".

Regards.


All times are GMT +1. The time now is 02:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com