Results 1 to 2 of 2

Thread: compile error: Argument not optional

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523

    Post

    I have noticed one thing: in DisplayBill Function you have declared sftdrks twice. If you don't need it two times then delete it, otherwise in Private Sub cmdCompute take a look on your call of DisplayBill Function. It is missing one parameter (second sftdrks) at the end.
    HTH

  2. #2
    Fanatic Member r0ach's Avatar
    Join Date
    Dec 1999
    Location
    South Africa
    Posts
    722

    Post

    You put the last Paramater (sftdrks As Single) in the call twice.
    Remove the last paramater from Private Sub DisplayBill

    r0ach™
    Don't forget to rate the post

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width