+ Reply to Thread
Results 1 to 3 of 3

addmmore computer name or range in code

  1. #1
    Registered User
    Join Date
    05-07-2012
    Location
    Dhaka
    MS-Off Ver
    Excel 2016
    Posts
    80

    Question addmmore computer name or range in code

    i have this code which wont let excel to open the workbook if the computer name is not M8. it works but i need to put few more computers name to make it work perfectly. can someone please help?

    Please Login or Register  to view this content.
    also is it possible to make the file open in specific IP range?




    (i figured out the enable macro problem. so thats not a problem now. no macro no file open)
    Last edited by iamhsn; 05-26-2016 at 11:07 AM. Reason: spelling

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: addmmore computer name or range in code

    Try something like

    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    05-07-2012
    Location
    Dhaka
    MS-Off Ver
    Excel 2016
    Posts
    80

    Re: addmmore computer name or range in code

    2nd method worked cool
    Last edited by iamhsn; 05-26-2016 at 11:30 AM.

+ 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. [SOLVED] VBA code recognize dates not on computer
    By emina002 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-14-2015, 02:11 AM
  2. Code running on one computer but not on another
    By Aaron092 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2015, 03:57 AM
  3. Code not working on another computer
    By rchure in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2014, 05:18 AM
  4. VBA code won't run on Mac computer.
    By Galvax in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 03-20-2014, 01:01 PM
  5. VBA code won't run on Mac computer.
    By Galvax in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-20-2014, 01:01 PM
  6. VBA code crashes on a different computer
    By dudamel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2010, 08:45 PM
  7. My code does not run on another computer
    By Pedro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2005, 01: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