Recent content by constantG

  1. C

    Free UK Postcode Lookup - revisited

    Hi, I modded this code for my own needs and until recently it has been working fine. The code simple scans each line of the source of the webpage and looks for specific HTML tags. It then simply parses the address from that line and, in my case adds it to a table for further interrigation. This...
  2. C

    MDB closes properly but MDE does not

    I created an MDE file for my application it's a split db when I hit the exit command button on the MDB version it quits the application correctly but when I do the same thing on the MDE version, it leaves the database window open on the taskbar.
  3. C

    Check Outlook is open not working

    After searching google I still can't get this to work.
  4. C

    Check Outlook is open not working

    Google does but exact search syntax is not always at the forefront of my mind. Thanks for the spot.
  5. C

    Check Outlook is open not working

    Hi, My application relies on whether Outlook is open and more importantly, with the correct Exchange profile selected. To ensure this I have the following code which, on the work PCs (Windows XP and Office 2003) works correctly. If Outlook_is_Running = True Then Set myOlApp =...
  6. C

    Center a report without access to design mode

    Hi, I use the following to enable users to create an address report and display it for printing. Sub LabelWizard() 'On Error GoTo ErrorHandler Dim dbs As Database Dim Rpc As Container Dim rpt As Document Set dbs = CurrentDb Set Rpc = dbs.Containers!Reports...
  7. C

    Beginning VBA (reference book) question

    Beginning VBA (reference book) question (SOLVED) Hello, I am currently working on the reference book "Beginning Access VBA 2007" by Denise Gosnell and am stuck at attempting to get the code from Chapter 13 to work. The code is as follows: Function ProcessRecordset(strSQLStatement As String)...
  8. C

    Word count as I type into a text box

    I've removed the "Solved" tag in the title of this as I need the code to do a little more. The code I originally had counted characters as they were input and using a key_press and key_change event I could limit the users input to a specific amount of characters. Here's the code I used: Sub...
  9. C

    Word count as I type into a text box

    Agreed, I will use yours so that extra spaces are discounted. Thanks again.
  10. C

    Word count as I type into a text box

    Apologies to you Stopher, I work quickly at trying to solve these problems, and the solution that I have found is perfect for my needs. Thanks for your input.
  11. C

    Word count as I type into a text box

    Re: Word count as I type into a text box (SOLVED) Solved Private Sub txtText_Change() If Not IsNull(Me.txtText) Then Me.txtWordCount = Len(Me.txtText.Text) - Len(Replace(Me.txtText.Text, " ", "")) + 1 Else Me.txtWordCount = 0 End If End...
  12. C

    Word count as I type into a text box

    After a bit of digging around I have found this Private Sub txtText_Change() If IsNull(Me.txtText) Then Me.txtWordCount = 0 Exit Sub Else Me.txtWordCount = Len(Me.txtText) - Len(Replace(Me.txtText, " ", "")) + 1 End If End Sub which works...
  13. C

    Word count as I type into a text box

    My apologies for only making it a link. here's the code that I am using and but it only updates on the first keypress or when the text initially changes but after that I've noticed that it doesn't call the procedure at all. txtWordCount is a text box in the form. Private Sub...
  14. C

    Word count as I type into a text box

    Hi, I am trying to utilise this module to count words in a text box. The example shows how many words but only After update of the text box. How can I get it to show the word count as words are typed into the text box? All help appreciated. Thanks
  15. C

    Move folder

    Thanks to all, as usual expert advice. The source path was made up from values in a table and I had missed a "\" in making up the path. Look and ye shall find!!!!!!!!
Back
Top Bottom