ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   checkbox to copy and delete content of a cell (https://www.excelbanter.com/excel-discussion-misc-queries/178397-checkbox-copy-delete-content-cell.html)

ash3154

checkbox to copy and delete content of a cell
 
I need help with VBA:
A1 B1 C1 D1
value checkbox if checked put value in C1, uncheck then clear
value checkbox " "
value checkbox " "

goes on for 500 rows.

Thanks

Cimjet[_2_]

checkbox to copy and delete content of a cell
 
HI
Can you use this?
If you are using a "=EMBED("Forms.CheckBox.1","")"
right click-properties-link cell to "B1" and in C1 type this formula-
=IF(B1=TRUE,A1,"") and copy down.
Regards
Cimjet


"ash3154" wrote in message
...
I need help with VBA:
A1 B1 C1 D1
value checkbox if checked put value in C1, uncheck then clear
value checkbox " "
value checkbox " "

goes on for 500 rows.

Thanks




All times are GMT +1. The time now is 03:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com