Peter, Thank you so much.
We're going to have the 3 computers we have with 2002 still on it upgrade to
2003 and that should fix that issue.
2. When you create the macro I suggested, you have to use the
I'm confused witht he third row.. for me woudl it read Name=C:\folder
one\folder two,_ sqlstatement1.="SELECT * from [" & MyDataBase.Database &
"$"]"
or did I miss the boat...
BOB
> 1. A number of problems in 2002 were fixed in 2003 - if you encounter
> them, I wouldn't waste much time trying to compromise to make 2002 work -
[quoted text clipped - 103 lines]
>>>> Hope the explanation is understandable Thanks for the Assistance.
>>>> BOB
> We're going to have the 3 computers we have with 2002 still on it upgrade
> to 2003 and that should fix that issue.
I'd consider waiting and seeing. If everything works OK with 2002, why
change? On the other hand, if it's simpler to get everything in line with
2003, why not?
>> Is there a way you know of to make the code enable this menu option, so I
>> don't have to have issues with the operator of the computer??
If you make the reference, then distribute an Excel workbook that uses it,
it should work. But you really need to /test/ as many of the things that you
eventually intend to /do/ as you possibly can.
> 3. >>> With objDoc.MailMerge
>>>> .OpenDataSource _
[quoted text clipped - 6 lines]
> "$"]"
> or did I miss the boat...
Name:=ActiveWorkbook.FullName
is intended to get the full path name of the workbook the user is working
with, using the Excel Object Model. ActiveWorkbook.FullName has a specific
meaning in that case, If you want to use a different file name, provide the
full path name, e.g.
Name:="Name=C:\folder one\folder two\yourworkbookname.xls", _
In a similar way,
SELECT * FROM [" & ActiveWorkbook.ActiveSheet.Name & "$]"
is intended to get the active worksheet name from the Excel Object Model.
ActveWorkbook.ActiveSheet (and .Name) have a specific meaning in that case.
Appending "$" may or may not be necessary. If you are trying to use
"SELECT * from [" & MyDataBase.Database & "$]"
it suggests you might be using some other object model (it looks a bit like
Access/DAO to me). In that case, let us know.
Peter Jamieson
> Peter, Thank you so much.
>
[quoted text clipped - 127 lines]
>>>>> Hope the explanation is understandable Thanks for the Assistance.
>>>>> BOB
BobR - 03 Apr 2007 21:08 GMT
Thank you
>> We're going to have the 3 computers we have with 2002 still on it upgrade
>> to 2003 and that should fix that issue.
>
> I'd consider waiting and seeing. If everything works OK with 2002, why
> change? On the other hand, if it's simpler to get everything in line with
> 2003, why not?
We have just salvaged about 20 desktops and since we own 2003 on them we're
going to remove 3 of them and put them on our 3 missing laptops. Doesn't
make sense to let something we own go out the door if we can remove it and
use it. If it were many more I would say the same as you, but it's only the
three....
>>> Is there a way you know of to make the code enable this menu option, so
>>> I don't have to have issues with the operator of the computer??
>
> If you make the reference, then distribute an Excel workbook that uses it,
> it should work. But you really need to /test/ as many of the things that
> you eventually intend to /do/ as you possibly can.
Thanks for the heads up, I've got two other testers that I'm having use it
and when I disburse it to them and the others I'll try your suggestion..
>> 3. >>> With objDoc.MailMerge
>>>>> .OpenDataSource _
[quoted text clipped - 15 lines]
>
> Name:="Name=C:\folder one\folder two\yourworkbookname.xls", _
*****Did I form this one right???******
OpenDataSource _
Name:=C:\LettersForms\Full Database.xls, _
sqlstatement1:="SELECT * FROM [" Full Database.DataBase & "$]"
End With
This is my path that will not change and my "Full Database.xls" will never
change and the Select From is always the "Database$" tab.
your thoughts once more?
> In a similar way,
>
[quoted text clipped - 8 lines]
> it suggests you might be using some other object model (it looks a bit
> like Access/DAO to me). In that case, let us know.
Everythin here is in an Excel database for the WORD documents merging
source.
THanks
BOB
> Peter Jamieson
>
[quoted text clipped - 129 lines]
>>>>>> Hope the explanation is understandable Thanks for the Assistance.
>>>>>> BOB
Peter Jamieson - 03 Apr 2007 22:13 GMT
Given what you say, I suggest
OpenDataSource _
Name:="C:\LettersForms\Full Database.xls", _
sqlstatement1:="SELECT * FROM [DataBase$]"
End With
Peter Jamieson
> Thank you
>>> We're going to have the 3 computers we have with 2002 still on it
[quoted text clipped - 200 lines]
>>>>>>> Hope the explanation is understandable Thanks for the Assistance.
>>>>>>> BOB