How to wrap a text in excel cell

I need to wrap text in excel cell using vb.net

Hi @sruthesanju

use the below code in execute macro activity or invoke VBA !

Sub vba_wrap_text()
Range("A1").WrapText = True

End Sub

Regards

In script I can’t write it

Hi @sruthesanju

May I know by which method you need to wrap text in a cell?

Regards

By vb.net

Hi @sruthesanju

Check with the below links!

Regards