View Single Post
  #29   Report Post  
Posted to microsoft.public.excel.programming
GS[_2_] GS[_2_] is offline
external usenet poster
 
Posts: 3,514
Default Fast way to truncate string

"GS" wrote:
gsBlankLine = Chr(13) & Chr(13) & Chr(10)

Where & how have you declared gsBlankLine?


It is declared globally as:

Dim gsBlankLine$


Better that it be...

Public gsBlankLine$

...else it's scope using Dim makes it module level.

--
Garry

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