+ Reply to Thread
Results 1 to 8 of 8

VBA code to open, fill, and print a form in another worksheet

  1. #1
    Registered User
    Join Date
    03-09-2015
    Location
    Grand Island
    MS-Off Ver
    2013
    Posts
    9

    VBA code to open, fill, and print a form in another worksheet

    The following code does what I want...mostly. It prints zeros(in the sheet1 form that prints) in the cells the user doesn't place any input. How do I place drop down choices into a cell? Thanks

    Please Login or Register  to view this content.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA code to open, fill, and print a form in another worksheet

    With Data Validation is one way...
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    03-09-2015
    Location
    Grand Island
    MS-Off Ver
    2013
    Posts
    9

    Re: VBA code to open, fill, and print a form in another worksheet

    I may not have posted correctly. The code was what I have so far. New at this forum and VBA. Data Validation? How?

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA code to open, fill, and print a form in another worksheet

    This link will explain the basics of Data Validation
    http://www.contextures.com/xlDataVal01.html

  5. #5
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA code to open, fill, and print a form in another worksheet

    Hi Ray

    Obviously I misinterpreted your question...please explain what it is you wish to do. I'll try again.

  6. #6
    Registered User
    Join Date
    03-09-2015
    Location
    Grand Island
    MS-Off Ver
    2013
    Posts
    9

    Re: VBA code to open, fill, and print a form in another worksheet

    Thanks for the walk through, I'm liken' this forum thing.
    Two sheets in the workbook. One(Sheet 2) has columns A:O, users input. At the last column a row is inserted(active cell returns to column A), input process starts over. The input ties into a form(Sheet 1) that prints at the press of a 'button'.
    I'm trying to have blank cells in Sheet 1 input area. It shows zeros now. Would like to place 'drop down' box with various selections in some of the cells. Also place date format in a couple of cells also.

  7. #7
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA code to open, fill, and print a form in another worksheet

    Hi Ray

    How does Sheet1 get populated with User Input from Sheet2...by Formula? ... by Change Event Code?

    What Cells in Sheet1 do you wish to have Dropdowns, what will be the Source of the Dropdown choices (this is where Data Validation comes into play).

    What Cells in Sheet1 do you wish to have date format?

    Need more info...a copy of your Workbook (sanitized) would be helpful

  8. #8
    Registered User
    Join Date
    03-09-2015
    Location
    Grand Island
    MS-Off Ver
    2013
    Posts
    9

    Re: VBA code to open, fill, and print a form in another worksheet

    thanks for reply, have to logoff for now. will get answers this evening.

+ 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. Dropdown box, auto fill form and print.
    By bigbubbaz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-03-2015, 11:37 AM
  2. How to create a macro which will fill a 'table' worksheet from another 'form' worksheet
    By tomgnihtemos in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-18-2013, 01:13 AM
  3. VB CODES to open internet explorer & fill form automaticlly
    By sheikhmisbah in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-23-2012, 03:55 PM
  4. fill in a form from a list of data and print all sheets.
    By Donzie84 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-01-2009, 07:44 AM
  5. Replies: 1
    Last Post: 10-01-2009, 07:16 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