Function Check_Array(Target As Range) As Boolean
Check_Array = Target.HasArray
End Function
@bosco_yip
But you need to save the file as xlsm (macro enabled) anyway so what benefit it provides over VBA?
Thanking you in advance for your helpful advice as always...
Is it possible to allow only certain type of Formula (i.e. Array Formula) in a cell?
I looked at Data Validation but I do not know how to write a formula,
which will allow only formulas that contain {}
View attachment 33804
A non-VBA and in Formula way.
Similar to Hui's in Post #.3, but using Define Name with Get.Cell function instead of UDF.
Go to Formulas | Define Name .
Name : CellHasArray
Refers to : =GET.CELL(49,INDIRECT("R[-1]C",FALSE))
Use it in G8, enter:
=CellHasArray
Then add a data validation to G7 >> Custom >> Formula : =G8
See attached file
Regards
Bosco
Hey Bosco,
Could you please share the list of all Get. function usage or formulas or please share the url if any.....
@bosco_yip
I think it is kept for backward compatibility. There are few more like those which includes powerful Evaluate. One Chandoo.org discussion was around it where I have posted couple of links:
http://forum.chandoo.org/threads/fo...combolist-and-combodropdown.11594/#post-68210
The prompt for saving file possibly comes from Get.Cell being XLM Macro function.
Hey Bosco,....
No, we can not find {=formula()}