+ Reply to Thread
Results 1 to 2 of 2

Error message: Compile error: Wrong number of arguments or invalid property assignment

  1. #1
    Snoopy
    Guest

    Error message: Compile error: Wrong number of arguments or invalid property assignment

    Hey guys
    I'm turning really mad at Excel VBa. Some days work with recording etc
    seems to be a waste.....
    The debugger stops one of my many, but very tiny, little macros at this

    point:
    Range("A7").Select

    ..=2E and presents this &%&&!!=A4=A4 error-message (sorry for the language -

    but I'm frustrated):


    Error message:
    Compile error:
    Wrong number of arguments or invalid property assignment


    The same error occurs in every step that use range.select commands


    I have no clue how to fix this in the macro that until recently run
    well.=20
    I hope for Your help.=20


    Regards=20
    Snoopy


  2. #2
    Dave Peterson
    Guest

    Re: Error message: Compile error: Wrong number of arguments or invalidproperty assignment

    Just a complete guess...

    Do you have a function or a subroutine called Range in your procedure?

    I could get weird errors when I did--they didn't match your message, but maybe I
    just didn't test it the same way as you have.

    Snoopy wrote:
    >
    > Hey guys
    > I'm turning really mad at Excel VBa. Some days work with recording etc
    > seems to be a waste.....
    > The debugger stops one of my many, but very tiny, little macros at this
    >
    > point:
    > Range("A7").Select
    >
    > .. and presents this &%&&!!¤¤ error-message (sorry for the language -
    >
    > but I'm frustrated):
    >
    > Error message:
    > Compile error:
    > Wrong number of arguments or invalid property assignment
    >
    > The same error occurs in every step that use range.select commands
    >
    > I have no clue how to fix this in the macro that until recently run
    > well.
    > I hope for Your help.
    >
    > Regards
    > Snoopy


    --

    Dave Peterson

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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