Visual Basic (VB and VBA)

Copyright 1999-2001 Christopher Greaves. All rights reserved.
Home Page and email to [email protected]
If in doubt, record a macro and inspect the entrails!

 

 

Please read the DISCLAIMER.

Here is an INDEX to all the procedures.

You will probably need one copy of my GLOBAL DECLARATIONS.



Public Function strGetWhiteSpace() As String
' Procedure :   strGetWhiteSpace
' Description:  Return the application's definition of White Space characters.
' Copyright: Chris Greaves Inc.
' Inputs:       None
' Returns:      A string of white space characters
' Assumes:      None.
' Side Effects: None.
' Tested:       By the calls shown below.
    Static strStatWhiteSpace As String
    If Len(strStatWhiteSpace) = 0 Then
        Dim GWS As String
        Dim intI As Integer
        Dim strChar As String
        For intI = 1 To 20
            strChar = strGPA("WhiteSpace" & Format(intI, "00"), "")
            If strChar <> "" Then
                GWS = GWS & Chr(Val(strChar))
            End If
        Next intI
        If GWS = "" Then
            strGetWhiteSpace = Chr(7) & Chr(9) & Chr(13) & Chr(32) & Chr(160)
            Call strPPA("WhiteSpace01", 7)
            Call strPPA("WhiteSpace02", 9)
            Call strPPA("WhiteSpace03", 13)
            Call strPPA("WhiteSpace04", 32)
            Call strPPA("WhiteSpace05", 160)
        Else
            strStatWhiteSpace = GWS
        End If
    Else
    End If
    strGetWhiteSpace = strStatWhiteSpace
End Function

We all knew nothing when we started …
Home Page and Contact Information
Send email to [email protected].
This page was last updated Thursday, November 15, 2001

 

 

Hosted by www.Geocities.ws

1

Visual Basic (VB and VBA)

Copyright 1999-2001 Christopher Greaves. All rights reserved.
Home Page and email to [email protected]
If in doubt, record a macro and inspect the entrails!

 

 

Please read the DISCLAIMER.

Here is an INDEX to all the procedures.

You will probably need one copy of my GLOBAL DECLARATIONS.

Public Function strGetWhiteSpace() As String
' Procedure :   strGetWhiteSpace
' Description:  Return the application's definition of White Space characters.
' Copyright: Chris Greaves Inc.
' Inputs:       None
' Returns:      A string of white space characters
' Assumes:      None.
' Side Effects: None.
' Tested:       By the calls shown below.
    Static strStatWhiteSpace As String
    If Len(strStatWhiteSpace) = 0 Then
        Dim GWS As String
        Dim intI As Integer
        Dim strChar As String
        For intI = 1 To 20
            strChar = strGPA("WhiteSpace" & Format(intI, "00"), "")
            If strChar <> "" Then
                GWS = GWS & Chr(Val(strChar))
            End If
        Next intI
        If GWS = "" Then
            strGetWhiteSpace = Chr(7) & Chr(9) & Chr(13) & Chr(32) & Chr(160)
            Call strPPA("WhiteSpace01", 7)
            Call strPPA("WhiteSpace02", 9)
            Call strPPA("WhiteSpace03", 13)
            Call strPPA("WhiteSpace04", 32)
            Call strPPA("WhiteSpace05", 160)
        Else
            strStatWhiteSpace = GWS
        End If
    Else
    End If
    strGetWhiteSpace = strStatWhiteSpace
End Function

We all knew nothing when we started …
Home Page and Contact Information
Send email to [email protected].
This page was last updated Thursday, November 15, 2001

 

 

Hosted by www.Geocities.ws

1