I tyring to write a routine to change the text values of specific attributes in a specific block named "BORDER". I can'y past the "Set blockRef = Block" line without a type mismatch. Can someone tell me what I'm doing wrong? Public Sub Test2() Dim blockRef As AcadBlockReference Dim Attribs As Variant Dim Block As AcadBlock Dim i As Integer Set Block = ThisDrawing.Blocks.Item("BORDER") Set blockRef = Block Attribs = blockRef.GetAttributes End Sub TIA Rick