use customizer to add button to panel. Link button to VB script
select variable to send to script
dim a
dim b
b = "(drive:\pdf folder\" & ML_ITEM_NO & ".pdf"
set fso = CreateObject("Scripting.FileSystemObject")
if fso.FileExists(b) then
set a = CreateObject("InternetExplorer.Application")
a.visible = true
with a
.navigate b
end with
else
MsgBox "Drawing does not exist for part number: " & ML_ITEM_NO &"!", 16
end if
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.