PDA

View Full Version : Fields using VBA



ahoffpauir
2005-01-11, 05:34 PM
is there a way to program feild using vba. I've tried inserting the text string but that only seems to give me # signs instead of the what i want.
for exsample:
mysting = "%<\AcVar PlotDate \f" & "M/d/yyyy" & ">%"

is suppose to retune the date but it returns "####"

is there s way to fix this

Mike.Perry
2005-01-11, 06:34 PM
Hi

Please note I've *moved* this thread from the AutoCAD Customization (http://forums.augi.com/forumdisplay.php?f=118) Forum to this one as I believe it would be better served here.

Thanks, Mike

Forum Moderator

Tom Beauford
2005-01-12, 08:14 PM
When you plot it it changes to curent date.
is there a way to program feild using vba. I've tried inserting the text string but that only seems to give me # signs instead of the what i want.
for exsample:
mysting = "%<\AcVar PlotDate \f" & "M/d/yyyy" & ">%"

is suppose to retune the date but it returns "####"

is there s way to fix this