+ Reply to Thread
Results 1 to 4 of 4

Userform works on my computer, but no one elses, and I can't figure out why....

  1. #1
    Forum Contributor
    Join Date
    08-16-2010
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    132

    Userform works on my computer, but no one elses, and I can't figure out why....

    Hi there,

    I have a button that links to a userform, with the following code:

    Please Login or Register  to view this content.

    The important part of this is the sub GetTheList(), which creates a list of all macros in my workbook which start with the letters DW. For some reason, when anyone else tries to open this workbook on their computer, they click the button which operates this macro, and they get zero results, but it works perfectly for ME.

    What setting might I have enabled that is causing this to work that they are not? I can't figure out why this would not be functioning correctly!

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Userform works on my computer, but no one elses, and I can't figure out why....

    Why do you add this reference at runtime and not set it once at design time?
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Userform works on my computer, but no one elses, and I can't figure out why....

    I think probably other users do not have trusted access to VBA project set in Trust Center but On Error Resume Next hides this problem.

  4. #4
    Forum Contributor
    Join Date
    08-16-2010
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Userform works on my computer, but no one elses, and I can't figure out why....

    Quote Originally Posted by Izandol View Post
    I think probably other users do not have trusted access to VBA project set in Trust Center but On Error Resume Next hides this problem.
    Perfect - I'm so used to On Error Resume Next being there that I don't even see it. I'll remove this and have a look at what exactly is the problem, but I'm thinking you're correct.

+ 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. VLookup works in my computer, but not in another user computer.
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-09-2013, 04:41 PM
  2. a dll works only on my computer ?!
    By granbapt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2012, 08:22 AM
  3. Macro works on one computer but not another
    By rockhunter in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-26-2011, 04:21 PM
  4. Userform works only in Local Computer.
    By ebin charles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2011, 12:23 PM
  5. Formula works on one computer but not another
    By realniceguy5000 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-12-2009, 04:05 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