How To Make Bartender Print Without Dialog Boxes S’abonner
I am new to this site and new to writing VBA code for Bartender (do have esxperience in VB & VBA for other applications though).
I am trying to write a bit of VBA code that will open a bartender file (which has been set up to pull data from an excel file) and print 1 label and then close without saving the file. The only bit I am having a problem with at the moment is the printing of the label without the prompt box (I don't want the user to have to click the print button in Bartender)!
This is what I have do far:
Dim btapp As BarTender.Application
Dim btFormat As BarTender.Format
Set btapp = New BarTender.Application
btapp.Formats.Open ("C:\Documents and Settings\C5E16\Desktop\ALC CAN ID LABEL.BTW")
btapp.Visible = True
btFormat.NumberSerializedLabels = 1
Can anyone tell me how to set up Bartender to print the label without any prompting?
Vous devez vous connecter pour laisser un commentaire.