Currently i am using a macro to clear the contents of a cell in excel if it is blank.
But it is taking too much time.
Can anybody help me to solve this topic using invoke code.
C# or vb.net code to clear the contents of a cell if it is blank and no need to change other datas.
Could you maybe explain a bit more and show us a sample data for us to confirm what is to be done ? Also are you trying to clear the contents of a Single Cell ?
Have you tried with the approach mentioned above ?
We do not know the full implementation what you would need to do but do you think Reading the excel sheet is taking up time, if so, could you provide an approximate.
Also, in the suggestion provided above, we are assuming that you need to clear the contents of a Single Cell and not multiple cells.
Do provide us with more details on the implementation for us to be sure that you would indeed require an alternate approach than using the basic activities.