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
Bob
NA
2
0
Word Macro
Jun 15 2006 3:14 PM
I am trying to convert the following VB (I know, sorry it's not C) from a Word Macro into C#. All I want to do is open a blank Word Document and insert files from various directories, however, I have not found that conversion easy when viewing the VBA code. Here it is, thanks: Sub Macro5() ChangeFileOpenDirectory "C:\Documents and Settings\bob\Desktop\" Selection.InsertFile FileName:="dummy1.doc", Range:="", ConfirmConversions _ :=False, Link:=False, Attachment:=False Selection.InsertFile FileName:="dummy2.doc", Range:="", ConfirmConversions _ :=False, Link:=False, Attachment:=False End Sub
Reply
Answers (
0
)
Need Help Converting C to C#
closing a C# ap from a child form