Sub Button167_Click()
If ThisWorkbook.Worksheets(1).Shapes("Check Box 1").OLEFormat.Object.Value = 1 Then
Range("Y12").Value = 1
Else
Range("Y12").Value = 0
End If
End Sub
1 is checked, -4146 is unchecked, 2 is mixed (grey box)
More Related Contents:
- Dir() function not working in Mac Excel 2011 VBA
- VBA Shell function in Office 2011 for Mac
- VBA (Excel) Dictionary on Mac?
- Create a folder and sub folder in Excel VBA
- Excel 2013 VBA Clear All Filters macro
- How do I issue an HTTP GET from Excel VBA for Mac
- Uncheck all checkboxes across entire workbook via CommandButton
- How can I install/use “Scripting.FileSystemObject” in Excel 2010 for MAC?
- The MacScript function is not working well in Office for Mac 2016! Any ideas?
- Save excel file multiple times with file names in another workbook.
- Read/Parse text file line by line in VBA
- How do I find the last column with data?
- Excel VBA: Answer gets “stuck”
- filter out multiple criteria using excel vba
- Excel VBA autofilter all but three
- Cells.Find() Raises “Runtime Error 91: Object Variable or With Block Not Set”
- Excel VBA code to copy a specific string to clipboard
- Excel VBA – Range.Copy transpose paste
- How do you get a Range to return its Name?
- How can I run VBA code each time a cell gets its value changed by a formula?
- How to convert 32 bit VBA code into 64 bit VBA code
- Referencing Excel Userform Control Name Value From String (VBA)
- Refreshing all the pivot tables in my excel workbook with a macro
- Countif With Multiple OR Criteria
- Vlookup to copy color of a cell
- every possible combination of the contents of 2 columns in excel
- How to delete rows in Excel based on criteria using VBA?
- Macro to export MS Word tables to Excel sheets
- VBA WinHTTP to download file from password proteced https website
- Function Overloading and UDF in Excel VBA