+ Reply to Thread
Results 1 to 2 of 2

Unchanged macro now causes "wrong number of arguments or invalid property assignment"

  1. #1
    Registered User
    Join Date
    01-20-2015
    Location
    Cypress California
    MS-Off Ver
    Office 2010
    Posts
    2

    Unchanged macro now causes "wrong number of arguments or invalid property assignment"

    Hi Folks, I'm new to the forum.

    I have several spreadsheets that I've used for years.
    I often use the GoalSeek function, but have a new problem.

    In a sheet I recently edited all of the goalseek macros return the
    "wrong number of arguments or invalid property assignment" error.

    The second RANGE is highlighted.

    ********************************************************
    Sub ZeroAZ()
    '
    ' ZeroAZ Macro
    ' Macro recorded 5/5/2007 by Mark Page
    '
    Application.ScreenUpdating = False
    RANGE("L53").GoalSeek Goal:=0, ChangingCell:= RANGE("D7")
    End Sub
    *********************************************************

    I get this error in this sheet for every use of GoalSeek, but not in any other sheet.

    Help!

  2. #2
    Registered User
    Join Date
    01-20-2015
    Location
    Cypress California
    MS-Off Ver
    Office 2010
    Posts
    2

    Re: Unchanged macro now causes "wrong number of arguments or invalid property assignment"

    I figured it out. The related forums had the answer. I had created a Macro named "Range()" which is of course a reserved name like "format".

    Thanks to anyone who spent a moment pondering this one.

+ 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. Replies: 1
    Last Post: 06-07-2012, 11:38 AM
  2. "Wrong number of arguments or invalid property assignment" *sigh*
    By bg_enigma1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-21-2012, 05:54 PM
  3. [SOLVED] Wrong number of arguments or invalid property assignment
    By ajg@nashuamobile.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2006, 11:45 AM
  4. Wrong Number of Arguments or Invalid Property Assignment???
    By tbassngal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-11-2006, 12:10 PM
  5. Wrong number of Arguments or Invalid property assignment
    By Turin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-17-2005, 05:05 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