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
chetan Allipur
NA
541
169.1k
Convert it to equivalent to c#
Jul 7 2017 3:19 AM
How to convert to c#. I tried in online convert it is not working.
For Each myTOC In ActiveDocument.TablesOfContents
If InStr(myTOC.Range.Text, "1-") > 1 Then
cmbhlevels.Enabled = False
cbxTOC.Enabled = False
cbxtocindent.Enabled = False
End If
If InStr(myTOC.Range.Text, "Table,") > 1 Then
cbxTOT.Enabled = False
End If
If InStr(myTOC.Range.Text, "Figure,") > 1 Then
cbxTOF.Enabled = False
End If
If InStr(UCase(myTOC.Range.Text), "APPENDIX") > 1 Then
cbxTOA.Enabled = False
End If
Next myTOC
Reply
Answers (
4
)
Please convert correct to c#. It is in VBA.
How to Export Records from Gridview in window application c#