|
macro not working properly
i have made a macro for creating a rectangular box. the form comes up and the user has to input the required height, width & depth. up to this is ok. but when i click apply, a cube gets generated with all dimensions value equaling the height value. can some check what is the mistake in the code/macro.
tia.
deepak gupta
sw2007 sp5.0
sw2009 sp2.1
answer hi,
make these edits.
dblwidth = cdbl(txtwidth.text * 0.0254)
dbldepth = cdbl(txtdepth.text * 0.0254)
scott
thanks scott. i forgot to change the codes after i did the copy and paste of first line.
deepak gupta
sw2007 sp5.0
sw2009 sp2.1 |
|