Excel 单元格中如何换行?Word Wrap in Excel, VB.net

在单元格中想要换行,只觉得按回车 Enter 键,会发现选中了下一个单元格。



 Alt + 回车 (Enter) 

对于编程输入,Alt + Enter 是硬回车。在 VB.NET 中相当于 Chr(10) 或者 vbLF。别的语言可以使用 ASCII 10, Char(10) 得到。

To word wrap in a single cell simply use Alt + Enter at a point the words should be wrapped.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.