Hi, Just started to use VBA in Autocad. I want to select a line (or other object) in my drawing and click on a (self created with VBA code behind it) button to change all the Z values (Elevation property) to the same value. How can I pick up the selected line in VBA?? Thanks.