| | |
Help getting txt value from Word selection.copy
![]() |
•
•
Join Date: Jul 2008
Posts: 3
Reputation:
Solved Threads: 0
I've searched for an answer but cannot find one so excuse me if this has been answered.
This is in Word 2003.
I have a two column table. The macro in question runs from the right column, selects the name of a file from the same row left column and then inserts the contents of that file into the cell it originated in and moves down one cell.
Problem is I cannot get the value of the file name from the select.copy performed on the left cell to asign it to a variable to be included in the selection.insertfile method.
I've tried using DataObject but this is not supported (Compile Error: User defined type not defined).
Any help appreciated.
ggg
This is in Word 2003.
I have a two column table. The macro in question runs from the right column, selects the name of a file from the same row left column and then inserts the contents of that file into the cell it originated in and moves down one cell.
Problem is I cannot get the value of the file name from the select.copy performed on the left cell to asign it to a variable to be included in the selection.insertfile method.
I've tried using DataObject but this is not supported (Compile Error: User defined type not defined).
Any help appreciated.
ggg
Last edited by gggchurch; Nov 16th, 2008 at 4:45 pm.
![]() |
Similar Threads
- Open In New Window Php (PHP)
- problem with Sendkeys (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: fast d method ADO sql Express
- Next Thread: about delete
| Thread Tools | Search this Thread |
* 6 2007 access activex add age basic beginner birth bmp calculator cd cells.find click client code college connection connectionproblemusingvb6usingoledb creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit excel excelmacro file filename form header iamthwee image inboxinvb internetfiledownload listbox listview liveperson login looping microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading remotesqlserverdatabase report save search sendbyte sites sql sql2008 sqlserver subroutine tags time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web windows





