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 TouchToneTommy 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 newboy18

  1. newboy18

    VBA for Excel, How do I use Workbooks.Add?

    Hi, My routine creates a new workbook from a template that contains links but I don't want to update the Links yet. So I use the line Workbooks.Add templateStr This works fine but every time it runs asks if I want to update the Links. Is it possible to amend the line so that it does not...
  2. newboy18

    Create a Messenger passport

    Some time ago I installed Messenger with a @MSN.com passport, I only want to use it for chat, voice, and web cam but not email. Now I have just created a logon for my wife and she wants the same but the install wants me to create a hotmail account. Can’t this be done anymore?
  3. newboy18

    When to Dim, Private or Public

    So when do I use Private ?
  4. newboy18

    When to Dim, Private or Public

    Thanks John, So if I put the Dim after the start of the Sub routine then it will only be available in that Sub routine, if I put it before the start of the Sub routine then it will be available to all Sub routines in this Module and if I make it Public then it will be available to all Modules
  5. newboy18

    Express YesClick for Outlook

    Does anyone use this routine, if so do you know if it is possible in VBA to check to see if it is already running, if not then start it and then at the end of the routine to close it
  6. newboy18

    When to Dim, Private or Public

    Please help, I am getting a bit confused. If I want a variable to be only available in the current Sub routine then I use Dim, If I want the variable to be available in all Modules then I use Public. Does it matter if I make the statement is before or after the beginning of the Sub routine? What...
  7. newboy18

    MS Excel Email distribution

    This (feature) was introduced to Outlook when Mr Gates updated to SR1, thank you very much Mr Gates. The only way that I have found to overcome this is a routine called Express ClickYes http://www.express-soft.com/mailmate/clickyes.html please post a reply if you find something better. Good luck
  8. newboy18

    Outlook VBA Sent items question

    When I send an email using VBA, I found that the copy in my sent items does not contain the body or any attachments, I do need a proper copy of any emails that I send, does anyone know of a way to overcome this problem please ?
  9. newboy18

    Please help me with my first major Outlook VBA routine

    Hi, The routine is written in Access XP, I have found a utility called Express ClickYes, it works buy automaticaly clicking on the Yes box but it still has to wait 5 seconds for each email.
  10. newboy18

    Please help me with my first major Outlook VBA routine

    Please help, I have written my first major VBA routine to send emails with attachments to customers, but for every one of the 150 emails being sent Outlook pops up with the message “A program is trying to send mail using Item.Send”. I can click Yes but not 150 times, and with a 5 second delay on...
  11. newboy18

    Advice please for VBA using several Word Templates

    Please help, I have created a working Access VBA routine that searches through a query for customer Email Name and Product Type in that order and sends an email to each customer with a data sheet for each product attached. There are 9 different data sheets held as Word templates and each...
  12. newboy18

    Editing a Word template from Access VBA

    Thanks Ben, I changed it as you said but it still get stuck in the same place Sub Start_Proc() Dim DocsMail As String DocsMail = "C:\DocsMail\" Dim WordDot As String WordDot = "c:\Test.dot" Dim WordDot2 As String WordDot2 = "c:\Test2.dot" Dim strName As String Dim...
  13. newboy18

    Editing a Word template from Access VBA

    Please help, this routine will work the first time it is run, the 2nd time it will fail at the first "Selection." statment with the error Run-time error '91' Object variable or With block variable not set. What have I done wrong? Another error message I sometimes get is Run-time...
  14. newboy18

    How do I work with 2 Word Documents in Access?

    Has anyone else got a solution to my problem please ?
  15. newboy18

    How do I work with 2 Word Documents in Access?

    I found that it would accept: Set docType1 = objWord.Documents.Open(WordDot, , ReadOnly) But then "docType1.Select" would not work

Part and Inventory Search

Back
Top