+ Reply to Thread
Results 1 to 4 of 4

Help with VBA Runtime error 1004

  1. #1
    Registered User
    Join Date
    02-08-2017
    Location
    fisherville, KY
    MS-Off Ver
    2003
    Posts
    45

    Help with VBA Runtime error 1004

    HELP! I am running Excel 2016 on my Macbook pro. A couple things you should know: I am new to 2016 Excel and I don't know much about macros or VBA. One of our forum members wrote an Excel program for my golf league, which is attached.

    From what I see, the program does everything I want it to. THE problem is: when I launch the program, I get a runtime error. So I click on DEBUG which takes me to the debug window. What I see there is a vertical line of code that is unreadable because the characters are partially cut off vertically. I suspect there might be a problem with that particular code. The program writer tells me all is fine when operating on his PC, but it just will not work in my macbook.

    I hope someone out there can fix this. I feel almost certain this issue points to my Mac. If you have any particular questions, I could hook you up with the Excel genius that wrote this program...
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Help with VBA Runtime error 1004

    Was the code written run on a PC? If so, that might be the cause of the error, sometimes code written for a pc version wont work on a MAC....not without some tweaking.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    02-08-2017
    Location
    fisherville, KY
    MS-Off Ver
    2003
    Posts
    45
    Quote Originally Posted by gmr4evr1 View Post
    Was the code written run on a PC? If so, that might be the cause of the error, sometimes code written for a pc version wont work on a MAC....not without some tweaking.
    .

    Yes, it was written on a PC.

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Help with VBA Runtime error 1004

    Unfortunately I don't know what needs to be done to get any code to work on a Mac...but I'm sure someone on here does.

+ 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. Runtime error '1004': Paste special method of range class error.
    By Daryl Zer0 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-05-2014, 01:44 AM
  2. runtime error 1004 vb
    By tamzgha in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-13-2013, 10:56 AM
  3. [SOLVED] VBA Error: Runtime Error 1004: AutoFilter method of Range class failed
    By jl22stac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2013, 07:27 PM
  4. [SOLVED] Range error in code, runs alone but not inside my full program, giving runtime error 1004
    By charizzardd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-23-2012, 03:34 PM
  5. runtime error 1004
    By caherine in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-22-2012, 04:28 PM
  6. Runtime error 1004,
    By pepito_1ton in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-27-2007, 03:28 PM
  7. [SOLVED] Excel 2003 Macro Error - Runtime error 1004
    By Cow in forum Excel General
    Replies: 2
    Last Post: 06-07-2005, 09:05 AM

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