Tailoring Runtime

  • Thread starter Thread starter johnb
  • Start date Start date
J

johnb

Hi all
I'am creating a runtime version of an Access XP DB which
has a link to Excel. On the development machine I've got
Excel 10 but the users have Excel 9. How do I refer to
Excel 9 when using the Package Wizard?

TIA
johnb
 
johnb said:
I'am creating a runtime version of an Access XP DB which
has a link to Excel. On the development machine I've got
Excel 10 but the users have Excel 9. How do I refer to
Excel 9 when using the Package Wizard?

Late binding means you can safely remove the reference and only have
an error when the app executes lines of code in question. Rather than
erroring out while starting up the app and not allowing the users in
the app at all. Or when hitting a mid, left or trim function call.

You'll want to install the reference if you are programming or
debugging and want to use the object intellisense while in the VBA
editor. Then,. once your app is running smoothly, remove the
reference and setup the late binding statements.

Sample code:
' Declare an object variable to hold the object
' reference. Dim as Object causes late binding.
Dim objWordDoc As Object
Set objWordDoc = CreateObject(" Word.Document")

For more information including additional text and some detailed links
see the "Late Binding in Microsoft Access" page at
http://www.granite.ab.ca/access/latebinding.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access 2002 runtime 4
How to cache install Language 3
Acess 2007 Runtime Compatibility 1
2003 runtime and 2007 runtime on same PC 3
Access 2000 runtime 4
Access 2000 Runtime 4
RUNTIME IN NETWORK 2
runtime for 2003 5

Back
Top