Dear All,
How can i set in excel file custom format in cells if there is Zero value should be (-) below i am trying but not working.
xlWorkSheet.Cells["L5", "AB49"].SetFormat = "_(* #,##0.00_);_(* (#,##0.00);_(* '-' ??_)_(@_)";
Please yours support.
Dear All,
How can i set in excel file custom format in cells if there is Zero value should be (-) below i am trying but not working.
xlWorkSheet.Cells["L5", "AB49"].SetFormat = "_(* #,##0.00_);_(* (#,##0.00);_(* '-' ??_)_(@_)";
Please yours support.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vishal YelveRank #178 · 13.6K reputationPosted Aug 10, 2022, 1:37 AM EDT