Excel add-in in C#: How to format the cell?

  • Thread starter Thread starter Aaron Fude
  • Start date Start date
A

Aaron Fude

Hi,

Is it possible to write an Excel function that no only returns a
value, but also formats the cell in a certain way.

An example of such a function is "=today()" with formats the cell as a
Date.

Thanks!

Pavel
 
Are you trying to do this in Excel, or are you trying to do this
accessing Excel in .NET?
 
Are you trying to do this in Excel, or are you trying to do this
accessing Excel in .NET?

I'm trying to do this in Excel. In other words, let's say I want to
write a UDF worksheet function "=MyToday()" which would act the same
way as "=today()".

Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top