How can I record a macro in excel that resizes my chart? -
i start record macro, click on chart, resize finish recording. problem recorded macro work on specific chart selected during recording.
is there way record macro works on selected chart? excel writes code:
sub resize() ' ' resize macro ' ' activesheet.shapes("diagram 6").height = 256.5354330709 activesheet.shapes("diagram 6").width = 405.3543307087 end sub
thanks in advance!
select shape or chart , run this:
sub resize() selection.height = 256.5354330709 selection.width = 405.3543307087 end sub
Comments
Post a Comment