TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pavel
1.6k
170
51.2k
DateTime format is^'t accepted in Excel.
Sep 27 2012 10:40 AM
Hello
In one cell of Excel sheet I want to place a value, formatted in the following way:
myExcelWorksheet.Cells[7, "I"] = String.Format("{0:00}:{1:00}:{2:00}:{3:00}", sw.Elapsed.Days, sw.Elapsed.Hours, sw.Elapsed.Minutes, sw.Elapsed.Seconds);
where sw - Stopwatch variable. In the Debug.WriteLine the same construction worky perfectly.
Regards.
Pavel.
Reply
Answers (
1
)
Number is replaced by #### when column width is insufficient
Setting of the Font style in Excel worksheet - total ambiguity !!!