hi,
i want to know here about this line
what is the meaning of above code![]()
Please Login or Register to view this content.
hi,
i want to know here about this line
what is the meaning of above code![]()
Please Login or Register to view this content.
Use Code-Tags for showing your code :
Please mark your question Solved if there has been offered a solution that works fine for you
If You like solutions provided by anyone, feel free to add reputation using STAR *
Hi,
See the annotated macro below for an explanation.
Lewis![]()
Please Login or Register to view this content.
The .RefersTo is a parameter of the .Name property of a range. However if you look at the named range properties in the Name Wizard, you'll see it always includes an = sign at the beginning:
=Sheet1!$C$2:$C$19
The MID function in your code simply stripping off that = sign to show just the range as a text string:
Sheet1!$C$2:$C$19
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Thanx sir for replying, I have a code and I am getting error. But I can't sort out the error.
Will u plz look?
first i tell u what is the main work of this code.
when i add some data (text or number) in Range c10:c500, then it looks in Names("ABD") and Names("NAME_SID9"), if same data found in those two names.range then it does nothing. if not found then it add the same data in boths names.ranges.
not what is the main problem?
its working properly.![]()
Please Login or Register to view this content.
now what is the problem, the problem is in name range ("NAME_SID9"), if this range have already data till row 99, it working properly, if it has already data above row 100,
then its giving me a error
Run-Time Error '438'
object doesn't support this property or method.
now thats the problem
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks