Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • \$\begingroup\$ Why using string parameters for Chr()? Seems to work fine without: ?Chr(&0124);Chr(&0150);Chr(&0145);…. \$\endgroup\$ Commented Apr 17, 2013 at 14:24
  • 1
    \$\begingroup\$ Following your method, you could do it in 8 distinct characters: ?chr(1+), it will be something like ?chr(11+11+11+11+11+11+11+1+1+1+1+1+1+1)+chr(11+11+11+11+11+11+11+11+11+1+1+1+1+1)+ .... etc. \$\endgroup\$ Commented Apr 19, 2013 at 6:22
  • \$\begingroup\$ Tested some more in VBA 7.1 (the one that comes with Office 2013) and there is no need for the semicolons either: ?Chr(&0124)Chr(&0150)Chr(&0145)…. \$\endgroup\$ Commented Apr 20, 2013 at 8:20