Search results

  1. W

    Edit Bookmark Range and Insert Page Break

    Hi, I have a bookmark in my word document. In the code, I need to attach few files into the bookmark. What I am trying to achieve is the following: For each attachment, add a line to the range of bookmark saying "Attachment1" and so on; and also insert a page break after the previous...
  2. W

    Insert file into a Word Document

    Thanks! It worked!
  3. W

    Insert file into a Word Document

    Hi, I am trying to insert a PDF File (as attachment) into a Bookmark in the Word Document. How do I do it? Following is the code I used, but it doesnt seem to work: FileSystemObject.CopyFile sourcefile, appDoc.bookmarks("Bookmark1").Range Thanks
  4. W

    HTML Tags in report

    Ok, then I suppose the style with "type" is not supported in Access. Thanks for the reply. I will try to find an alternative.
  5. W

    HTML Tags in report

    Yes, it is a Rich Text control
  6. W

    HTML Tags in report

    Hi, I am trying to use HTML tags in an Unbound Text box for Bullets (with specific type) and Indentation. I used the following: ="<ul style='list-style-type:square'> <li>UL List1</li> <li>UL List2</li> <ol type = 'A'> <li>OL List1></li> <li>OL List2></li> </ul>" I am getting the default lists...
  7. W

    Insert symbols in Report Footer

    The font style helped! Thanks a lot
  8. W

    Insert symbols in Report Footer

    Hi, I am trying to create a report footer to include the symbol of a telephone, along with other text. How do I do it? Also, how to create a text box with 2 columns - similar to have a 2 page view in a book? Thanks in advance WS
  9. W

    SQL Query based on combination of multiple Fields

    I was being so careless!! :banghead: I was giving the "strFilter" as the wrong argument while opening report This worked: DoCmd.OpenReport "rptTest", acViewReport, , strFilter
  10. W

    SQL Query based on combination of multiple Fields

    Hi Minty, That link was quite helpful. Now I got the logic to work. However, I have another small problem. When I click "Filter" (as shown in the sample database), I am opening a report. DoCmd.OpenReport "rptTest", acViewReport, , , , strFilter Although strFilter has the right...
  11. W

    SQL Query based on combination of multiple Fields

    Thanks! let me go though it now
  12. W

    SQL Query based on combination of multiple Fields

    Hi, I have a form with 6 combo boxes in it. I have a command button, which should display the query results when clicked. Now, my challenge is to build the query based on the 6 different fields. ie. query should be: WHERE Field1 = "Value" AND Field2 = "Value" AND FIELD3 = "Value" AND FIELD4...
  13. W

    Email to a Distribution List in Access

    Hi Grumm, Thank you very much. I wrote the following code and now it works!!!!! Function GetDistLists() 'Get all the Distribution Lists in the Contacts Folder of Outlook and get the email IDs out of them into a string Dim objOutlook As Outlook.Application Dim objNameSpace As...
  14. W

    Email to a Distribution List in Access

    Hi Ginawhipp, The version of MS Office that I am using is 2013. Hi Minty, Sorry about not being clear. Yes, when I say Distribution list, it is a contact group in my outlook. I added the code as you suggested, and I get the following msgbox "Test could not be resolved" Thanks
  15. W

    Email to a Distribution List in Access

    Hi Grumm, I was doing as you said. Since I have a huge distribution list, which keeps changing often, I wanted to try the option of using the Distribution List directly in the code, so that I wont have to edit the code each time when the list changes. Thanks
  16. W

    Email to a Distribution List in Access

    Yes, it opens up. In the 'To; field, it has the word Test. Not the emails in the Test Distribution list. How can I find out what bit of Microsoft Office I am using?
  17. W

    Email to a Distribution List in Access

    Version of Access - Access 2013 Version of Outlook - Outlook 2013 Outlook is Open Version of Windows - Windows 7 Professional Operating Sytem - 64 bit
  18. W

    Email to a Distribution List in Access

    I tried the code exactly as you said. Funny enough, I don't get any error message, but it does not send the email either! I checked my sent items, inbox. What could be happening?
  19. W

    Email to a Distribution List in Access

    When I code: .To = "Test" I am getting the following error message: "Access does not recognise on or more names" and it stops at .Send It does not send the email.
  20. W

    Email to a Distribution List in Access

    it didn't work! I have a distribution list named 'Test' in my outlook. In my code I used the following: Dim OL As Outlook.Application Dim MyMail As Outlook.MailItem Set OL = Outlook.Application Set MyMail = OL.CreateItem(olMailItem) With MyMail .To = "Test@MyDomain.com"...
Top Bottom