Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Microsoft XP Windows 2000
Have many macros using Range("B2") etc. Of a sudden none of my macros will run giving me a wrong number of arguments error. I am having to change put Application. infront of Range("B2") Application.Range("B2") Why would this quite taking Range("B2") without application in front? Have many, many macros with many, many range("xx") lines in it ..... Any explanation? Thanks in advance .... |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
More than likely
You have written code (a procedure) that has the name RANGE or you have defined a variable with the Name RANGE. You need to change the name. -- Regards, Tom Ogilvy "FGM" wrote in message ... Microsoft XP Windows 2000 Have many macros using Range("B2") etc. Of a sudden none of my macros will run giving me a wrong number of arguments error. I am having to change put Application. infront of Range("B2") Application.Range("B2") Why would this quite taking Range("B2") without application in front? Have many, many macros with many, many range("xx") lines in it ..... Any explanation? Thanks in advance .... |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you... I came back here to say I found it and here was your answer...
that was just what it was. I went through all the new macros one at a time pasting them back in after cutting them out... "FGM" wrote: Microsoft XP Windows 2000 Have many macros using Range("B2") etc. Of a sudden none of my macros will run giving me a wrong number of arguments error. I am having to change put Application. infront of Range("B2") Application.Range("B2") Why would this quite taking Range("B2") without application in front? Have many, many macros with many, many range("xx") lines in it ..... Any explanation? Thanks in advance .... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel selected range not showing when Excel application not in focus | Excel Discussion (Misc queries) | |||
Application.Selection Is Range? | Excel Programming | |||
macro to close excel application other than application.quit | Excel Programming | |||
VBA application; Subscript Out of Range | Excel Programming | |||
Link Excel range to PowerPoint Application text box | Excel Programming |