Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Speccy

  1. Speccy

    Word VBA Make Module Recordset Available To Form

    I have a recordset that is generated in a module and I need it to be made available to code running behind a form. I have tried: --Form Code Public rsAuthor As ADODB.Recordset (declared on the form, not the module) Public rsTypist As ADODB.Recordset (declared on the form, not the module)...
  2. Speccy

    Iron Man Contest - Answer This And You Are King

    I am king (of what I'm not sure) tNode1.Nodes.Add(tNode)
  3. Speccy

    Iron Man Contest - Answer This And You Are King

    VBScript/ASP.Net Creating a tree structure using 'DirectoryTree' <%@ Import Namespace="Microsoft.Web.UI.WebControls" %> tNode = new TreeNode() tNode.Text = "Departmental Reports" tNode.ImageUrl="folder.gif" tNode.ExpandedImageUrl="FolderOpen.gif"...
  4. Speccy

    Count instances of an individual word in MS Word

    Dim y As Integer Dim Response With ActiveDocument.Content.Find Do While .Execute(FindText:="happy", Forward:=True, Format:=True, _ MatchWholeWord:=True) = True y = y + 1 Loop End With Response = MsgBox(Str$(y))
  5. Speccy

    Count instances of an individual word in MS Word

    Hi. I'm trying to write some VBA code that will identify the number of an individual word instance.... i.e 'happy' is featured in the document 12 times, I'd like a function or some code that would return me '12'. I've looked in many places and this doesn't seem like a common problem. Thanks...

Part and Inventory Search

Back
Top