c# - How to tell if Target.Value is double or string -
i working excel sheet in vsto project.
i using event
excel.worksheet.change(range target) it gives target object of excel.range. want check whether target has string or double value using
target.value how can this?
hm...maybe try
object obj = target.value; messagebox.show(obj.gettype().tostring());
Comments
Post a Comment