Hi:
Can someone help on the below problem
I need to count each number in green and pink background color, I used the "define name" & "get.cell" yesterday, it worked well. But when I open the file today, all the "defined names" disappeared, I think it's because of the file I saved as "Excel workbook" but not "macro enabled workbook", so I saved another file with "macro enabled workbook", then the problem comes: the get.cell can't return the correct value, always tells 0
I tried both 38 and 63 for the first parameter in get.cell, could someone help to take a look on the sample mini-sheet I uploaded and tell what mistake there is & how to correct it?
Sample mini-sheet:
Thanks a lot
Can someone help on the below problem
I need to count each number in green and pink background color, I used the "define name" & "get.cell" yesterday, it worked well. But when I open the file today, all the "defined names" disappeared, I think it's because of the file I saved as "Excel workbook" but not "macro enabled workbook", so I saved another file with "macro enabled workbook", then the problem comes: the get.cell can't return the correct value, always tells 0
I tried both 38 and 63 for the first parameter in get.cell, could someone help to take a look on the sample mini-sheet I uploaded and tell what mistake there is & how to correct it?
Sample mini-sheet:
sample.xlsm | |||
---|---|---|---|
N | |||
16 | |||
Sheet1 |
Thanks a lot