Home > OS > Seek help from a great god! CELLS for cell assignment # according to the VALUE
Seek help from a great god! CELLS for cell assignment # according to the VALUE
Time:09-20
Great god for help, want to use in the VBA code to add VALUE in the cell, run directly in the VBA code can be run normally, if in excel calls the function is not line, always show # VALUE! , the code to run to the CELLs (X, 4)="1" side is not running!
CodePudding user response:
Who help me!
CodePudding user response:
Function () Function, as a custom formula, is can't give other cell assignment, and you didn't even give Check1 gave in this Function value, so even if not the wrong, also don't know what will return, So, you should be defined as a Sub () process, and need to run, to the Function () Function/custom formula, will change the way, return a value,