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!

Search results for query: *

  • Users: newboy18
  • Content: Threads
  • Order by date
  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

    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
  4. 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...
  5. 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 ?
  6. 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...
  7. 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...
  8. 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...
  9. newboy18

    How do I work with 2 Word Documents in Access?

    Please help, I have a routine that opens a Word doc from Access, but now I want to open 2 documents at the same time. How do I set 2 variables so that I can activate one, then switch and activate the other? Public Const WordDot As String = "c:\Test.dot" Dim objWord As...
  10. newboy18

    VBA Outlook, attachments question

    Please help, I have 2 questions. 1/. I want my routine to send all .doc files in a folder to a contact but how, the Attachments.Add will not allow me to put “c:\docsemail\*.doc 2/. I want to start Outlook before running this sub routine because it is part of a loop, it will be very slow if I...
  11. newboy18

    Please help me to use a Word template from Access VBA

    Please help, I am writing a VBA routine in Access to send emails with 1 of more attachments based on the same Word.Dot template. The idea is to open the Word template, make some changes and then SaveAs into a temp folder, then when ready email the attachments, clear the folder and then move onto...
  12. newboy18

    VBA Query quetion

    Hi, I am a beginner at VBA for Access and have only used code on my Tables, I have a database with a Table and a Query. I want to write some VBA to use data in the Query, my questions are: 1/. Do I need to run the Query before I try to use the results, if so is it a DOCMD command? 2/. Do I use...
  13. newboy18

    Disappearing Tables, Queries, Forms etc

    Please help, I have been writing an Access Database for a few weeks, it is not very big or complicated and only has a few VBA bits. My problem is that often when I close the Database and go back to the Object View, all I can see is the Object buttons but nothing in the main window, not even...
  14. newboy18

    Please help me with a query

    I have a Table of Names and a Table of Addresses. I want to join the 2 together in another Table using a Form with 2 CombBoxes but I only want to see the Names that have not been use yet in my Name Combobox, I dont want to see all the Names. How can I create a query of all Names in Table 1...
  15. newboy18

    Popup form question

    I have 3 tables joined by a query, the results are shown on a form that is set to continuous and this works OK, my problem is that I cant fit all the data on 1 line so I want a "More Info" button on each line that will open a popup form but when I do this the popup always goes to...
  16. newboy18

    List only unselected items, please help

    I am having trouble trying to design an Access2000 query to use with a dropdown ComboBox. I have created ComboBox that uses a Query to list parts and put them in order but what I wanted was for the dropdown list to NOT show any parts that had already been selected. I guess that I need another...
  17. newboy18

    Unprotect worksheet from VBA question

    Please help, I have a sheet in a workbook that has password protected cells. I want to change the contents of some these cells in VBA but I would need the routine to unprotect the sheet, update the cells and then re-protect the sheet with the same password. Is this possible, if so how.
  18. newboy18

    MoveLast has no effect

    Please help. I am trying to copy data from one table to the END of another, although the copy works it seem to go where ever it wants. Set db = CurrentDb() Set rec1 = db.OpenRecordset("Table1") rec1.MoveFirst pcpCodes = rec1(0) mess1 = pcpCodes rec1.MoveNext Set rec2 =...
  19. newboy18

    Advise please

    I need to make a lot of changes to a live database, can I prepare the updates using a copy of the original and then just import them when convenient, if so how do I deal with changes to the tables?
  20. newboy18

    Thanks to "Rookery" I am getting there

    I want to test a record set to make sure it is at the new record and then copy several sets from another table, this is how far I am, mydata1 will be the number of records to copy and mydata2 will be the start of the transfer. The bits that are commented out are the bits I have the problem with...

Part and Inventory Search

Back
Top