Thread: [Solved] vba coding for CrLf in text
View Single Post
 
Old 09-26-2021, 04:18 PM
Logit Logit is offline Windows 10 Office 2007
Expert
 
Join Date: Jan 2017
Posts: 533
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

The following works here :

Code:
Option Explicit

Sub InsertLineFeed()
    Range("A1").Value = "Serial" & vbCrLf & "Number"
End Sub
Reply With Quote