+ Reply to Thread
Results 1 to 8 of 8

Compile error: Named argument not found (Foglio1 16:89) - Help With Referencing

  1. #1
    Registered User
    Join Date
    01-06-2017
    Location
    NZ
    MS-Off Ver
    2007
    Posts
    30

    Compile error: Named argument not found (Foglio1 16:89) - Help With Referencing

    Hi all,

    I have a sheet setup for scheduling of staff but when I download the 'RAW DATA Schedule' and dump it into excel its formatting is terrible to almost un-readable/unprintable. So I have setup another sheet 'Schedule' with nice formatting to print. I tried using Vlookup formulas and Index/Match formulas but nothing has worked so far so now looking at macros. I have a macro on the sheet but getting a compile error, can someone help?

    What I am trying to achieve is for each name in column B. So B3:B17 the code runs and adds their scheduled stamps from 'Raw data schedule' and places it into the rows associated with that name. for instance for name B3 time stamps would be found in D3 - H3 and name B4 time stamps found in C4 - F4.

    Only complication is the names from 'Raw Data Schedule' could change over the year and I really don't want to have to reset codes each time a name changes I wish to just change the name on sheet 'schedule and re-run the code each time the 'raw data schedule' is updated (Weekly updates to the 'raw data schedule')

    I hope someone can help.
    Attached Files Attached Files
    Last edited by Mrmarc; 12-17-2017 at 04:38 AM.

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Compile error: Named argument not found (Foglio1 16:89) - Help With Referencing

    Try
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-06-2017
    Location
    NZ
    MS-Off Ver
    2007
    Posts
    30

    Re: Compile error: Named argument not found (Foglio1 16:89) - Help With Referencing

    Unfortunately not,

    Run-time error '429':

    ActiveX component can't create object

    Then when I modify and re-run

    The macro ''Week X - Date Range - Date Range Template.xlsm'!Foglio1.Macro1' cannot be found.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Compile error: Named argument not found (Foglio1 16:89) - Help With Referencing

    What version of window/Excel?

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Compile error: Named argument not found (Foglio1 16:89) - Help With Referencing

    Here's the workbook with my codes.
    See if you still get error.

  6. #6
    Registered User
    Join Date
    01-06-2017
    Location
    NZ
    MS-Off Ver
    2007
    Posts
    30

    Re: Compile error: Named argument not found (Foglio1 16:89) - Help With Referencing

    I'm Running 2015.

    Looks like code working but I get this error.

    License information for this component not found. You do not have an appropriate license to use this functionality in the design environment.

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Compile error: Named argument not found (Foglio1 16:89) - Help With Referencing

    2015?
    Is it Excel?

    Your profile telling us 2007.

    Anyway, if it is on Mac or other than Excel, it won't work.

  8. #8
    Registered User
    Join Date
    01-06-2017
    Location
    NZ
    MS-Off Ver
    2007
    Posts
    30

    Re: Compile error: Named argument not found (Foglio1 16:89) - Help With Referencing

    Yep, worked it out, was because of Mac. Easy enough to solve, install new XCODE and update VBA and it starts working on my Mac. Mac runs 2007, work runs 2015. Works on the work PC.

    Thank you so much for your endless help, was excellent, I will go through the code the figure out where i went wrong.

+ 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. Named Argument Not Found
    By seanhee in forum Excel General
    Replies: 3
    Last Post: 07-08-2017, 09:06 PM
  2. [SOLVED] Named argument not found error
    By Alexander_Golinsky in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2012, 07:09 AM
  3. Named Argument not found
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-06-2011, 04:08 PM
  4. Replies: 3
    Last Post: 04-28-2010, 05:54 PM
  5. Named argument not found
    By T De Villiers in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2006, 03:55 PM
  6. Macro Error: Compile error: Named argument not found
    By A.S. in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-28-2005, 05:15 PM
  7. [SOLVED] Macro Error: Named argument not found
    By A.S. in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-28-2005, 03:35 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