dcsimg
Results 1 to 2 of 2

Thread: VB.net is not recognizing AVERY 5160 when using MailingLabel

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2019
    Posts
    25

    VB.net is not recognizing AVERY 5160 when using MailingLabel

    When defining the label as follows:

    Code:
    oApp.MailingLabel.CreateNewDocument(Name:="5160", Address:="", AutoText:="MyLabelLayout", LaserTray:=Nothing)
    The result is 4x10. However, 5160 is actually 3X10. I tried 8160 (which used the same template) but it did not recognize that value.

    Anyone have any idea of what is going on. Have been researching this for 2 days. How does VB.net keep these values.

  2. #2
    Frenzied Member jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    1,426

    Re: VB.net is not recognizing AVERY 5160 when using MailingLabel

    That code is just automating Word to produce the mailing labels, it has nothing to do with VB .Net other than .Net is being used to do the Word automation.

    https://docs.microsoft.com/en-us/off...atenewdocument

    https://docs.microsoft.com/en-us/off...mailing-labels

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width