+ Reply to Thread
Results 1 to 6 of 6

Macro will not run on other laptops

  1. #1
    Registered User
    Join Date
    08-07-2018
    Location
    Allentown
    MS-Off Ver
    2016
    Posts
    3

    Macro will not run on other laptops

    I created this macro to import data from a word document into Excel. I created in 2016 and my users getting an error are on 2013. I am new to VBA. It works for me on my laptop.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Last edited by alansidman; 08-07-2018 at 03:25 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365
    Posts
    19,471

    Re: Macro will not run on other laptops

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365
    Posts
    19,471

    Re: Macro will not run on other laptops

    What are the error messages the user is getting and also have them click on debug and advise which line of code is highlighted when they get the error message. Knowing this will help to diagnose the issue.

  4. #4
    Registered User
    Join Date
    08-07-2018
    Location
    Allentown
    MS-Off Ver
    2016
    Posts
    3

    Re: Macro will not run on other laptops

    wdApp As New Word.Application

    2018-08-07_15-11-34.png

  5. #5
    Registered User
    Join Date
    08-07-2018
    Location
    Allentown
    MS-Off Ver
    2016
    Posts
    3

    Re: Macro will not run on other laptops

    Compile Error

    2018-08-08_7-08-55.png

  6. #6
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    2,519

    Re: Macro will not run on other laptops

    I am no expert but suspect that the references under tools_references in the vba window, include some items being ticked on the computer it runs on, but not on the computers that it doesn't run on. See what is ticked where it works and see if the same have been ticked where it fails

    https://superuser.com/questions/9444...-fails-in-2010

+ 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. Program Not Working On Other Laptops
    By Somni4uk in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-23-2017, 08:29 AM
  2. Replies: 0
    Last Post: 07-01-2015, 03:06 PM
  3. VBA run time error 32809 in some laptops
    By ElTopoMarinero in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2015, 07:05 PM
  4. Macros not working on only 2 laptops!
    By ykobure in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-06-2015, 12:13 PM
  5. Replies: 0
    Last Post: 12-16-2014, 10:12 AM
  6. [SOLVED] Macro "save file to folder" to work on co-workers laptops
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-15-2014, 12:08 PM
  7. Excel and Laptops
    By astrikor in forum Excel General
    Replies: 3
    Last Post: 02-12-2006, 07:29 PM

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