Travis,
You might double check your equality test:
If Ucase(ObjBlockref.name) = Ucase(strBlockName) then
End If
Cheers,
Kenneth Hutson
San Antonio, Texas
"Travis Williams" wrote in message
news:865DF470F035FA039C389AB5CDC0CC59@in.WebX.maYIadrTaRb...
> I am currently trying to pull information from all of a certain blocks
> attributes so that I may input it in a database. Since this particular
block
> is the room name and number (I'm sure you can see were this is going), I
> would like to get the attributes from each occurrence of this block in the
> drawing. So here is the problem
> If block.name = blockname then
> end if
> statement don't work. I can get it to display the blocks name in a message
> box
> msgbox (vbcr& block.name)
> By using the if statement above if I change blockname to a block that was
> created in the drawing it will work but not with one that is a wblock.
> If you have any information on a fix, please help.
> Thanks,
> Travis
>
>
>