Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi joel,
It's just a matter of properly defining which references you're using where. After all, depending on where you're at with your code, Selection could refer to either an Excel range or a Word range and you need to be clear as to which Selection you're referring to. -- Cheers macropod [Microsoft MVP - Word] "joel" wrote in message ... You are probably correct when you are working with Word VBA that selection isn't required. I've had lots of problems when I when I try to access a word document using Excel VBA. The excel VBA gets confused if it should use the Excel library or Word library when the methods are the same. I think it has to do with which occurs first in the Reference list. VBA should look at the object type to determine which is the correct library but I don't think it does. Then if you revverse the reference order of the two libraries word wil word correctly and excel won't. -- joel ------------------------------------------------------------------------ joel's Profile: 229 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=171622 Microsoft Office Help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I copy a word table into excel | New Users to Excel | |||
Copy filtered table to Word | Excel Worksheet Functions | |||
Copy from word table | Excel Programming | |||
Q: copy/paste table from Word | Excel Discussion (Misc queries) | |||
Copy Word table to Excel | Excel Programming |