Search results

  1. Z

    On Error VBA Outlook

    CreateItem(olMailItem) End with I just added two lines of codes. have you tried all suggestion provided by others and me?
  2. Z

    On Error VBA Outlook

    Dim myOlApp As Outlook.Application Dim myitem As Outlook.MailItem Dim n As Integer Dim sUsername As String sUsername = Environ$("username") Dim filesPath AsString Set myOlApp = CreateObject("Outlook.Application") filesPath = Environ$("USERPROFILE") Set myitem = myOlApp...
  3. Z

    Error 424: Set xlApp = CreateObject ("Excel.Application")

    try to run this code under EXCEL or Word VBA. if still occurs error, I am afraid you have to reinstall your office to fix this problem. your register probably has been destroyed.
  4. Z

    Error 2485 Microsoft Access cannot find the object 'Custom rpt'

    I just created a commandbar as I posted last time. please check my upload to find a module with name modCreateCommandbar where you can find detail how to add a commandbar with codes. I think you probably have not imported custom commandbars when you converted a mdb to accdb.
  5. Z

    Error 2485 Microsoft Access cannot find the object 'Custom rpt'

    that's true. i add a commandbar named as Custom rpt try the file below
  6. Z

    Previous 97/XP User, Can't Figure Out How to Enter VBA on 2010

    Also can set click property of the button as [event], then press ALT F11 to code.
Back
Top Bottom