Results 1 to 2 of 2

Compile Error: Syntax Error to Compile Error: Argument Not Optional

Threaded View

  1. #1
    Registered User
    Join Date
    06-06-2023
    Location
    Philippines
    MS-Off Ver
    MS Office 2016
    Posts
    1

    Red face Compile Error: Syntax Error to Compile Error: Argument Not Optional

    Hi! My SpellNumber curiosity lead me to sign up for this site. I have no background in programming, but I am interested to learn and to make my excel work a lot easier.

    So, I've found this thread "Compile error syntax error - spellnumber microsoft code" from 2020 and tried to copy this "Cents = GetTens(Left(Mid(MyNumber, DecimalPlace + 1) & "00", 2))" from the replies. However, after doing so, the Compile Error: Argument Not Optional popped up, highlighting "(Right(TensText, 1)) ' Retrieve ones place." from VBA.

    I really don't understand. I hope you can help me. Thank you!

    Btw, I used the codes from the ms support site.


    edit:
    Here is the link you are referring to.

    https://www.excelforum.com/excel-pro...soft-code.html
    Last edited by davesexcel; 06-06-2023 at 12:46 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Compile Error: Argument not optional
    By DropAGearN'Disappear in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-17-2021, 08:22 AM
  2. Compile error argument not optional
    By wayneatkins in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-07-2015, 08:08 AM
  3. i am getting Compile error: Argument not optional
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-26-2014, 06:27 AM
  4. Argument not optional - Compile error
    By dsrfinancial in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2012, 07:34 AM
  5. Getting compile error - Argument not optional
    By Mukesh Sajjan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-29-2011, 10:46 AM
  6. Compile Error: Argument not optional
    By Brett Smith in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-19-2006, 01:45 PM
  7. [SOLVED] error message: compile error, argument not optional
    By Pierre via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-05-2005, 11:05 AM

Tags for this Thread

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