+ Reply to Thread
Results 1 to 2 of 2

Macro to create outlook task will run on my desktop but not my laptop

  1. #1
    Registered User
    Join Date
    09-27-2019
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    1

    Macro to create outlook task will run on my desktop but not my laptop

    Hi,

    I have a VBA macro that creates a task in outlook based on information in an Excel workbook. It runs perfectly on my desktop but it will not run on my laptop, the . Both are running office 365 outlook 2016, any assistance would be really appreciated. The macro hangs up at line "Set objOutlookApp = CreateObject("Outlook.Application")"

    Run-time error '429'
    Active x component can't create object

    Please Login or Register  to view this content.
    Last edited by Leith Ross; 09-27-2019 at 07:36 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Macro to create outlook task will run on my desktop but not my laptop

    Hello Calais33,

    Welcome to the Forum!

    This code fragment has declaration conflicts. You are using both early and late binding to Outlook which will throw an error regardless of which machine it is run on. Please provide the code you actually using and not a condensed version.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. macro performance is differing Personal Laptop vs Virtual dual desktop at office
    By prabhuduraraj09 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-16-2018, 07:54 PM
  2. [SOLVED] Create Outlook task from Excel Macro?
    By Jay Harris in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-04-2013, 11:11 PM
  3. Date Formatting Changes Between Laptop and Desktop - Why?
    By Oleschool in forum Excel General
    Replies: 6
    Last Post: 12-06-2012, 01:34 AM
  4. Macro to create a task in outlook and send it to specific recipients
    By JacksonBoss in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-05-2012, 01:24 PM
  5. Task Scheduled Macro via Remote Desktop Not Working
    By johncassell in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-19-2011, 10:02 AM
  6. [SOLVED] Create MS Outlook task object by Excel macro
    By Ivan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-30-2006, 12:55 AM
  7. Save as not working for laptop to desktop
    By Adra in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-29-2005, 06:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1