From: LA Lawyer on
I want to declare a Public Variable in Word 2007 from another program (in
this case, Access 2007). How is this done?


From: Karl E. Peterson on
LA Lawyer wrote:
> I want to declare a Public Variable in Word 2007 from another program (in
> this case, Access 2007). How is this done?

With a FOIA request?

Only partly in jest. Don't think this is gonna happen. Unless you can
articulate a bit clearer what you're trying to do.

--
..NET: It's About Trust!
http://vfred.mvps.org


From: LA Lawyer on
If I was doing this in Word, I would do something like:
Public Constant NameOfContact as String = "John Smith"
"Karl E. Peterson" <karl(a)exmvps.org> wrote in message
news:%23libPMr0KHA.6104(a)TK2MSFTNGP06.phx.gbl...
> LA Lawyer wrote:
>> I want to declare a Public Variable in Word 2007 from another program (in
>> this case, Access 2007). How is this done?
>
> With a FOIA request?
>
> Only partly in jest. Don't think this is gonna happen. Unless you can
> articulate a bit clearer what you're trying to do.
>
> --
> .NET: It's About Trust!
> http://vfred.mvps.org
>
>


From: Karl E. Peterson on
LA Lawyer wrote:
> "Karl E. Peterson" <karl(a)exmvps.org> wrote...
>> LA Lawyer wrote:
>>> I want to declare a Public Variable in Word 2007 from another program (in
>>> this case, Access 2007). How is this done?
>>
>> With a FOIA request?
>>
>> Only partly in jest. Don't think this is gonna happen. Unless you can
>> articulate a bit clearer what you're trying to do.
>
> If I was doing this in Word, I would do something like:
> Public Constant NameOfContact as String = "John Smith"

Yeah, me too. But what's the bit about doing it in Word "from" another
program? That just doesn't make sense. I think you need to describe
the goal, not the approach you think may be needed to meet the goal.

--
..NET: It's About Trust!
http://vfred.mvps.org


From: LA Lawyer on
I want to assign some variables in Access, then open Word and have those
variables available to me the entire time that I am in that session of Word,
even if open another document.

"Karl E. Peterson" <karl(a)exmvps.org> wrote in message
news:%233$iZpr0KHA.4420(a)TK2MSFTNGP02.phx.gbl...
> LA Lawyer wrote:
>> "Karl E. Peterson" <karl(a)exmvps.org> wrote...
>>> LA Lawyer wrote:
>>>> I want to declare a Public Variable in Word 2007 from another program
>>>> (in this case, Access 2007). How is this done?
>>>
>>> With a FOIA request?
>>>
>>> Only partly in jest. Don't think this is gonna happen. Unless you can
>>> articulate a bit clearer what you're trying to do.
>>
>> If I was doing this in Word, I would do something like:
>> Public Constant NameOfContact as String = "John Smith"
>
> Yeah, me too. But what's the bit about doing it in Word "from" another
> program? That just doesn't make sense. I think you need to describe the
> goal, not the approach you think may be needed to meet the goal.
>
> --
> .NET: It's About Trust!
> http://vfred.mvps.org
>
>