is there a join command code for VBA autocad

Can you use the vba editor to join lines together like how the join command is used?