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
richard smith
1.4k
285
160.8k
C# to find text & sort that column descending
Jan 28 2013 10:23 PM
I have been running this in VBA, and need to know what the C# equivelant is:
With Intersect(ws.UsedRange, ws.Rows(1).Find("Called On", , , xlWhole).EntireColumn)
.EntireRow.Sort Key1:=.Cells, Order1:=xlDescending, HEADER:=xlYes, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
.NumberFormat = "mm/dd/yy"
End With
I am looking for the text "Called On" in Row 1, and sorting that column DESC then formatting that column in mm/dd/yy format. What would the C# equivelant of this be?
EDIT
This is C# working with data in an Excel Spreadsheet (.xlsx format)
Reply
Answers (
2
)
Connect oracle database to sharepoint list
how to open PDF file without directory path using stream