In a macro to change the scale on a drawing I'm using 'swModelDocExt.SelectAll' to select all dimension followed by 'boolstatus = Part.Extension.AlignDimensions(0, 1)' to align them according the new scale.
Everything worked perfect in 2013 and 2014 but now in 2015 the SelectAll command seems to fail. It looks like the focus is on the userform instead of the open drawing. Showing the userform 'modal' or 'vbmodeless' the userform disappear.
How can I keep the focus on the drawing when firing 'SelectAll' ?