(the hard way) You can use "ThisDrawing.SendCommand" and reconstruct the
command line "-mapexport" string in VBA. (I'm hoping there is an easier way.
make sure the AcadMap reference library is loaded)
example:
'(setvar "cmdecho" 0)
ThisDrawing.SendCommand "_setvar" & vbCr & "cmdecho" & vbCr & "0" & vbCr
or
ThisDrawing.SendCommand "(setvar" & " " & Chr(34) & "cmdecho" & Chr(34) & "
" & "0)" & vbCr
Eric Smallwood
"Peter Cleeren"
wrote in message
news:39442C1F356C9501C72326D5F8553573@in.WebX.maYIadrTaRb...
> Is it possible to use mapexport (or something else to export to shape) in
> VBA
>
> thanks
>
>
> Peter
>
>