+ Reply to Thread
Results 1 to 6 of 6

Search and Print in VBA

  1. #1
    Registered User
    Join Date
    06-03-2007
    Location
    Wilmington, NC
    MS-Off Ver
    2007
    Posts
    26

    Search and Print in VBA

    I have a workbook that I have 4 buttons set up on the front page. With one button I press it would add the information into sheet 2 in a spreadsheet. What I want to do is - when I press button three I would like to put a date in and it search through sheet 2 and print out mailing labels from Publisher of those people within that date. I would also like to press button 4 and it print out a letter with it addressed (mail merger) to the person from sheet 2. Is this possible. I am unable to attach my file for it is too big to attach. Leave me a message and I will be able to send it through email.
    Last edited by VBA Noob; 02-12-2009 at 04:11 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Search and Print in VBA

    If you can't attach a file, try using a zip program or use a free fie sharing site like yousendit.com & post the link.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    06-03-2007
    Location
    Wilmington, NC
    MS-Off Ver
    2007
    Posts
    26

    Question Re: Search and Print in VBA

    OK here is my file - I removed the first two fourms and pictures for the file to upload.
    Attached Files Attached Files
    Last edited by Ray_n_yellow; 02-12-2009 at 07:48 PM.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Search and Print in VBA

    Both your userforms look identical! Where are the mailing labels?

  5. #5
    Registered User
    Join Date
    06-03-2007
    Location
    Wilmington, NC
    MS-Off Ver
    2007
    Posts
    26

    Re: Search and Print in VBA

    Yeah both forms are the same one to print mailing labels and the other to print a form made in Word. After the search is completed I need it to create a mail merge to go into the form and the address labels made in publisher and then print out automatically. Can this be done?

  6. #6
    Registered User
    Join Date
    06-03-2007
    Location
    Wilmington, NC
    MS-Off Ver
    2007
    Posts
    26

    Re: Search and Print in VBA

    Would it be best to creat a mailing label in Publisher or a templet?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1