Thread: Quote constant?
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
GS[_2_] GS[_2_] is offline
external usenet poster
 
Posts: 3,514
Default Quote constant?

On Sat, 13 Apr 2013 16:41:32 -0400, GS wrote:

But that defeats the whole purpose of using constants. Walter's
version...

Const vbQuote As String = """"


I agree! My reply was only to suggest a way to use Chr(34), which
she stated she wanted some way to do that.

Personally, I'd just use the keyboard in most cases, but I do see a
value in storing this in a variable/constant when passing double
quotes as an arg or when filtering...



Could it have to do with touch screen interface considerations?


Doubtful!<g
Which is easier typing...

""""

...to get "

OR

vbQuote

...when string building needs internal quotes within the string?

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion