excel - How do I fix a checkbox to a location in VBA -


i attempting fix checkbox cell because, believe bug continuously moves it.

i have tried selecting " don't move , size cells" , randomly shift different location without re-sizing of cells.

others seem have same issue no 1 has answers

any appreciated.

you need determine appropriate event. picked beforesave event control repositioned before saves. may want event fires more often.

in event, can set top , left properties whatever want, including top , left properties of cell.

private sub workbook_beforesave(byval saveasui boolean, cancel boolean)      sheet1.shapes("check box 1")         .top = sheet1.range("j3").top         .left = sheet1.range("j3").left     end  end sub 

Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -