+ Reply to Thread
Results 1 to 7 of 7

Generate output form from spreadsheet data

  1. #1
    Registered User
    Join Date
    02-09-2016
    Location
    State College, PA
    MS-Off Ver
    MS Office 2013
    Posts
    4

    Generate output form from spreadsheet data

    Hello guys! I've been searching the internet trying to find a solution to my problem I have. I'll give you an overview of what i'd like to do as well as some screenshots..

    For the company I work for, I have a few fields of information that i scan into an excel sheet using a barcode reader. I'd like to take this information and then compile it into a form that I can easily copy and paste into our ticketing system for record keeping.

    A few issues i have is:
    -The form on the left that gets scanned in does not always have the same fields filled out. For example, some devices do not have a MAC address. I would like excel to realize this and output 'N/A' in the form on the right.
    -The amount of items on the left are not always the same. For example in the screenshot i have 5 devices listed. Sometimes this is just 3 devices..but other times it can be up to about 10. I would like excel to realize this and leave the ones that are not filled out blank.
    -The formatting on the output form on the right have to be coded in the way it currently is. For example it needs to have the main title, then the dashes in front of each subcategory. And the field for fedex also needs to stay the same as it is with the [FEDEX TRK: 555555555555].

    Thank you so much in advance for any help I can get!!

    NOTE: The information in the screenshot is obviously fictitious since it is company sensitive information I am trying to use here.EXCEL_2016-02-09_13-55-13.png

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Generate output form from spreadsheet data

    Attach that as a sample workbook - it's hard to work from an image...
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    02-09-2016
    Location
    State College, PA
    MS-Off Ver
    MS Office 2013
    Posts
    4

    Re: Generate output form from spreadsheet data

    I apologize.. I wasn't thinking that one through haha
    http://www.filedropper.com/shippedinventorybuilder
    Last edited by RineerDe; 02-09-2016 at 03:14 PM. Reason: Fixed link

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Generate output form from spreadsheet data

    Try:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-09-2016
    Location
    State College, PA
    MS-Off Ver
    MS Office 2013
    Posts
    4

    Re: Generate output form from spreadsheet data

    Trying to figure out how to actually implement this code. I'm not very good with macros, so please bare with me. Where would i actually 'put' this code?

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Generate output form from spreadsheet data

    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button

  7. #7
    Registered User
    Join Date
    02-09-2016
    Location
    State College, PA
    MS-Off Ver
    MS Office 2013
    Posts
    4

    Re: Generate output form from spreadsheet data

    Very good! It works flawlessly! Thank you so much for your help today!!

+ 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. Generate data from an online query form, from within an spreadsheet
    By peponfree in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-20-2014, 02:30 PM
  2. how to generate form from data of last row of a work sheet
    By drsahurrp in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 12-08-2012, 10:44 AM
  3. Form to output input data into spreadsheet
    By kronos in forum Excel General
    Replies: 1
    Last Post: 06-23-2010, 01:03 PM
  4. Replies: 1
    Last Post: 06-23-2010, 07:08 AM
  5. Replies: 5
    Last Post: 07-15-2009, 03:32 PM
  6. Trying To Create Form To Output Data And Erase Form Once Data In Ouput
    By jasonmilford in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-22-2007, 11:53 PM
  7. generate form from excel data
    By frode in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-13-2006, 06:52 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