|
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 TypeOneCharPerParagraph(str1 As String)
' Procedure : DumpArrayToParagraphs
' Description: Dump paragraphs from the array to the named document.
' By: Chris Greaves Inc.
' Inputs: String document name, string array.
' Returns: None
' Assumes: None.
' Side Effects: The document selection point will be reloaded.
' Tested: By the calls shown below.
Dim lngInd As Long
For lngInd = 1 To Len(str1)
Call strStatusBar(strFmt0dec(lngInd) & " of " & strFmt0dec(Len(str1)))
Selection.TypeText lngInd & Chr$(9) & Mid$(str1, lngInd, 1) & Chr$(13)
Next lngInd
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 |