• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

Displaying UPS Tracking Number information using VBA

I am trying to display information for a UPS tracking number by double clicking on the tracking number on a subform in Access 2010.

I have the following code on the double click event for the tracking number field:

Private Sub Tracking_Number_DblClick(Cancel As Integer)

    UPSID = "C:\Program Files\Internet Explorer\IEXPLORE.EXE http://wwwapps.ups.com/WebTracking/track?loc=en_US&ID=" & Tracking_Number

    X = Shell(UPSID, vbMaximizedFocus)
   
End Sub

This code brings up the UPS Tracking site but it does not fill in the Tracking Number and display information for it.  Is there a way to do this?
0
dsoderstrom
Asked:
dsoderstrom
1 Solution
 
dsoderstromAuthor Commented:
Perfect!  Thank You.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now