+ Reply to Thread
Results 1 to 7 of 7

VBA - issue - Runtime error 1004

  1. #1
    Registered User
    Join Date
    12-06-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    14

    VBA - issue - Runtime error 1004

    Hi

    I've created some VBA that works fine for me, however, when another user attempts to use it she gets the dreaded Runtime error 1004. I test that the W:\Parent Participation\DfE project\Invoices and Expenses\BenDashboardLink.xls link works for her and she can access this. She has enabled all macros.

    What I do note is that the runtime error code is stating the issue is with a filename that is not even in the VBA code (see attached picture)
    1004.jpg

    Please Login or Register  to view this content.
    Does anyone have any experience with VBAs not working with other users?

    Many thanks,
    Last edited by Pepe Le Mokko; 10-14-2019 at 11:07 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    06-29-2014
    Location
    Australia
    MS-Off Ver
    MSO 365
    Posts
    1,098

    Re: VBA - issue - Runtime error 1004

    Hi there,

    Try the amendments as marked in red font:-

    Please Login or Register  to view this content.
    I hope that this helps.

    Cheerio,
    vcoolio.

  3. #3
    Registered User
    Join Date
    12-06-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: VBA - issue - Runtime error 1004

    HI VCoolio

    I've replied to this twice now, but it doesn't seem to be appearing, I'm not sure why.

    Why does the target spreadsheet that my source data gets saved to have to be macro-enabled (.xlsm) my source sheet where this code exists is saved as .Xlsm so I don't see why the destination sheet (BenDashboardlink) has to be .xlsm.

    I hope this reply gets to you.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: VBA - issue - Runtime error 1004

    @ Ben
    Could you please describe what went wrong when you tried to post those replies? Are you using the "Quick reply " window?
    Thanks

  5. #5
    Registered User
    Join Date
    12-06-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: VBA - issue - Runtime error 1004

    Hi Pepe, I've just realised what I was doing, I was clicking on the +reply to Thread button above this window rather than the Post Quick Reply button. It was my own stupidity not the website.

    Many thanks,

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: VBA - issue - Runtime error 1004

    Np. If you have any other problems with the board drop a line in the Water Cooler forum

  7. #7
    Valued Forum Contributor
    Join Date
    06-29-2014
    Location
    Australia
    MS-Off Ver
    MSO 365
    Posts
    1,098

    Re: VBA - issue - Runtime error 1004

    Hello Ben,

    Why does the target spreadsheet that my source data gets saved to have to be macro-enabled (.xlsm) my source sheet where this code exists is saved as .Xlsm so I don't see why the destination sheet (BenDashboardlink) has to be .xlsm.
    From what I can tell, both sheets are in the same workbook so, as the workbook is now macro enabled, the workbook needs to be saved with the .xlsm extension.

    Cheerio,
    vcoolio.

+ 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] issue with macro freeze pane from sheet 1 to sheet 2 getting runtime error 1004
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-29-2019, 01:16 PM
  2. VBA error: runtime error 1004 : Method range of object - 'Global' failed.
    By Afjio12 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2019, 04:37 AM
  3. Runtime error 1004 when running excel macro. Other users do not have same issue with file
    By macronewbie99 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-09-2018, 02:23 PM
  4. 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
  5. Issue with "Runtime error 1004: Cannot rename a sheet to the same name..."
    By joch329 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2014, 10:21 PM
  6. [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
  7. Copy and Pasting Issue (Runtime error '1004')
    By kinseld5 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-06-2013, 08:26 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