+ Reply to Thread
Results 1 to 4 of 4

macro code for printing pages through the dropdown list in a cell

  1. #1
    Registered User
    Join Date
    01-17-2015
    Location
    sonepat
    MS-Off Ver
    2007
    Posts
    2

    Talking macro code for printing pages through the dropdown list in a cell

    I have a excel sheet. In which in a cell I have a drop down list of numbers from 1 to 100.
    when selected 1 from drop down list it looksup data in other excel sheet in same workbook.
    I want to print this page and so on through the list ends in 100.
    pls provide a macro code for this to print the list selecting from 1 to 100 in a single command.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: macro code for printing pages through the dropdown list in a cell

    Here's something you can work with,
    Please Login or Register  to view this content.
    If you had attached a sample workbook, the code would have been more customized.

    You didn't so you will have to figure out and edit the code.

  3. #3
    Registered User
    Join Date
    01-17-2015
    Location
    sonepat
    MS-Off Ver
    2007
    Posts
    2

    Re: macro code for printing pages through the dropdown list in a cell

    Thanx dave for this useful info.
    but I am new to macros and dont know how to edit the code.And i have attach the file in which drop down list have only 1 to 5 enteries. Then pls tell me the code according to it and also set the print area of page A4 or page 1 only .
    Once again thanking you.
    neeraj arora
    Attached Files Attached Files

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: macro code for printing pages through the dropdown list in a cell

    Please Login or Register  to view this content.

+ 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. [SOLVED] Printing using an automated dropdown list
    By Jason Eric in forum Excel General
    Replies: 3
    Last Post: 07-07-2014, 10:48 AM
  2. [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
  3. Macro Not Printing Pages
    By BrianTFC in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-16-2013, 11:50 PM
  4. Macro for printing pages within a sheet depending on cell value
    By antonywalsh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-25-2012, 04:45 PM
  5. Replies: 21
    Last Post: 12-02-2009, 03:27 PM

Tags for this Thread

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