+ Reply to Thread
Results 1 to 3 of 3

dropdown box printing

Hybrid View

  1. #1
    Registered User
    Join Date
    05-08-2014
    Location
    England, UK
    MS-Off Ver
    Excel 2013
    Posts
    46

    dropdown box printing

    Hi everyone,

    Thank you for taking the time to read my post. I have a spreadsheet here with a drop down list, I am able to select a person and am able to print out one sheet for the individual selected without any problems, however I was wondering is it possible to print off all the people in my dropdown list. I read some where about cycling through but don't know where to start. I would be grateful for any help or advice.

    Thank you in advance.

    please find attached a copy of the sheet
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: dropdown box printing

    After reading your post 3 times (maybe my own problem, its getting late) I think I understand what you mean.

    That is to say when you change the drop down list the contents of the sheet change, and while you can manually print the sheet to a printer with each selection you are looking for a way to print it out for all of the selections without needing to go back and manually change the selection and start another print job?

    If this is what you are asking, the short answer is not without a macro.

    The drop down is just a way of changing the entry in a cell. The data below doesnt exist/change according to another entry unless that entry is actually changed. So you can either change it manually or write a macro that automates changing the drop down and running print jobs for you.

    I also notice you are using a drop down control not a data validation list. To be honest its been a while and I'm not sure which would be easier to get the list from, but id imagine if you based the validation off a range of cells or a named range that it would be pretty easy to loop the list, make the changes and print.

    If you do decide to pursue a macro for this, you would have to save the file in a macro enabled format and have macros enabled. Anyone else using the file would also have to enable macros to be able to utilize a macro.

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: dropdown box printing

    Change the input range for your combobox to: Students!$A$4:$A$100

    Then Use a Macro like:

    
    Sub PrintAll()
    LR = Sheets("Students").Cells(Rows.Count, 1).End(xlUp).Row
    Sheets("Question Analysis").Select
    
    For Count = 4 To LR
    Cells(3, 2).Value = Count - 3
    Calculate
        ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _
            IgnorePrintAreas:=False
    Next
    
    End Sub
    Attached Files Attached Files
    Last edited by mehmetcik; 10-18-2017 at 05:54 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. macro code for printing pages through the dropdown list in a cell
    By neerajarora80 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-18-2015, 03:10 AM
  2. [SOLVED] Printing using an automated dropdown list
    By Jason Eric in forum Excel General
    Replies: 3
    Last Post: 07-07-2014, 10:48 AM
  3. [SOLVED] Printing everything in a dropdown list.
    By bclark2 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-01-2013, 11:07 AM
  4. Cull dropdown list options based on selection in another dropdown
    By Kiffar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2012, 01:53 AM
  5. Dropdown menu (printing issue)
    By lolla70 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-25-2012, 04:36 AM
  6. Printing all in a dropdown box
    By hiddenupnorth in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-24-2012, 03:21 PM
  7. [SOLVED] HELP! - Printing a sheet with values populated from dropdown box
    By Co-op Bank in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-13-2005, 10:05 AM

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