+ Reply to Thread
Results 1 to 5 of 5

User Box entry Pasted into cells

  1. #1
    Forum Contributor
    Join Date
    10-01-2008
    Location
    Eureka, CA
    Posts
    161

    User Box entry Pasted into cells

    Hi, I think this should be easy, but i don't know how to do it, i have a hidden worksheet named "View & Print Invoice", and i want to have users click a button that says view/print invoice, and a user box would ask for an invoice number, the macro would then put the user's entry into cell "O12" of "View & Print Invoice, then create a copy of View & Print Invoice, rename it as the contents of cell "O12" in the new worksheet I have some code below, but don't know how to paste it all together....the top code ask's the user for a customer number then copies and pastes entire rows....don't need that, just the user's entry put into one cell....I got this code from these forums, and don't really understand vba that well yet, anyway thanks for the help guys

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  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: User Box entry Pasted into cells

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

    I have created numerous invoice programs and never yet had to store invoices as a cmplete sheet. It's much more efficient to have one invoice form than can be populated using VLOOKUP based on the invoice number. It is necessary for the relevant data to be stored in a table on another sheet.
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    10-01-2008
    Location
    Eureka, CA
    Posts
    161

    Re: User Box entry Pasted into cells

    Ok, I will post my workbook, there will not be a sheet for each invoice, the ability to open up an invoice into its own sheet at any time, all the data from the invoices are stored in an xml file, along with customer records and product records...so thats another question i have, can i export my xml data with a macro? Anyway, thanks for any help you can give me, much appreciatedEXCELHELPFORUM.xlsm
    Last edited by humboldtguy; 08-04-2009 at 05:31 AM. Reason: Changed Attachment

  4. #4
    Forum Contributor
    Join Date
    10-01-2008
    Location
    Eureka, CA
    Posts
    161

    Re: User Box entry Pasted into cells

    some notes on the workbook, only the customers, invoices, inventory, and get map tabs will be visable...the others I am using as templates, Each worksheet has some instruction, so it should be easy to get the general idea.....so on each sheet, row 1 is blank, but the user forms copy into put onto row 1, row 2 copies the information back from the user form....i hope that makes sense...anyway, thanks again for the help, you guys on this forum have been just terrific

  5. #5
    Registered User
    Join Date
    07-27-2009
    Location
    Mumbai, India
    MS-Off Ver
    OFFICE 365 VERSION 2410
    Posts
    10

    Thumbs up Re: User Box entry Pasted into cells

    A VERY HELPFUL FILE EXCELHELPFORUM.xlsm IT HAS SAVED A LOT OF TIME AND EFFORTS OF MINE THANK YOU ITS REALLY TERRIFIC

+ 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