|
-
May 2nd, 2002, 01:40 AM
#1
Thread Starter
Junior Member
how I get all contents of a word doc wirh a macro written in VB ?
how I get all contents of a word doc wirh a macro written in VB ? after this I need to get it and put into a Rich Text field into another application using API !
-
May 2nd, 2002, 05:10 AM
#2
-= B u g S l a y e r =-
start the macro recorder in Word, then choose select all from the menu or use Ctrl + A
edit the macro, It will show u how to do it.
-
May 8th, 2002, 03:13 AM
#3
Thread Starter
Junior Member
you are so funny..
you are so funny.. but I need a suggestion for code ....
-
May 8th, 2002, 03:21 AM
#4
-= B u g S l a y e r =-
that was not an attempt to be funny, if u do as I said, u will produce the code u need, then u can look at it.
its a common way to do it if u are uncertain how to write the code.
If I misunderstood u'r question, please elaborate
-
May 8th, 2002, 04:26 AM
#5
Thread Starter
Junior Member
something like this ...
i use something like this as VB macro :
to select & copy
ActiveDocument.Select
Selection.Copy
to deselect
Set Range = ActiveDocument.Range(Start:=0, End:=0)
Range.Select
it is another way to do this ?
I need another hint : how can I test if a process running ? Sample: if I run the Notepad I see in the task manager the notepad.exe process ! I need to check if an specific process is running !
-
May 8th, 2002, 06:19 AM
#6
-
May 9th, 2002, 03:01 AM
#7
Thread Starter
Junior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|