Thread: [Solved] Declare Constant for Chr(14)
View Single Post
 
Old 12-03-2020, 01:05 PM
VBorNotVB VBorNotVB is offline Mac OS X Office 2016 for Mac
Novice
 
Join Date: Oct 2018
Location: Southern California
Posts: 25
VBorNotVB is on a distinguished road
Default Declare Constant for Chr(14)

Word has built-in constants such as vbCr = Chr(13) and vbFormFeed = Chr(12).
How can I declare my own constant vbColumnBreak = Chr(14)?

Word VBA compiler objects to "Chr" in the following declaration:
public const vbColumnBreak as string = Chr(14)
Reply With Quote