+ Reply to Thread
Results 1 to 3 of 3

UserForm Data Save With Selected Columns

  1. #1
    Registered User
    Join Date
    02-19-2021
    Location
    Pakistan
    MS-Off Ver
    2013 and 2016
    Posts
    19

    UserForm Data Save With Selected Columns

    Asallam-0-Alaikum
    Hello Everyone

    I have created a userform for my invoice data save through userform. Each product space in the file is already created.
    Some Product Name: RGB COKE, 1500ML SPRITE, 1000ML FANTA..... other you can see in sample file.
    Now i want to save My product Qty "TextBox6" on that selected columns
    If Textbox1.Value = RGB Coke than my Qty "Textbox6" data will save Excel Sheet RGB Coke Column
    If Textbox1.Value = 1500ml Sprite than my Qty "Textbox6" data will save Excel Sheet 1500ml Sprite Column
    If Textbox1.Value = 1000ml Fanta than my Qty "Textbox6" data will save Excel Sheet 1000ml Fanta Column

    Please Help Its most Important for me
    Attached Files Attached Files

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

    Re: UserForm Data Save With Selected Columns

    Use find to find the column, then get the first empty row, this will get your cell reference.
    cells(row,column)

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-19-2021
    Location
    Pakistan
    MS-Off Ver
    2013 and 2016
    Posts
    19

    Re: UserForm Data Save With Selected Columns

    Dear Friend Thanks For Your Reply
    you code is working for save data par Selected Columns
    But it not break row when i enter new entry.

    Kindly check this my new Sample file .. Please provide code for this UserForm Save Button.
    Attached Files Attached Files

+ 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. Print and save as PDF only selected check boxes in a userform
    By JCORDUNA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2019, 01:17 PM
  2. Replies: 10
    Last Post: 09-24-2017, 04:17 AM
  3. Selected Rows/Columns Save into PDF format
    By x3n0nx in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2016, 09:57 PM
  4. How to save selected columns as html
    By Pagz in forum Excel General
    Replies: 1
    Last Post: 12-07-2015, 05:29 PM
  5. [SOLVED] Save data from UserForm into Sheet (how to resolve runtime errors in UserForm tutorial)
    By eighty6 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-14-2015, 07:41 PM
  6. Display a UserForm based on Data selected in another UserForm's ListBox
    By RPhilbin83 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-26-2011, 11:35 AM
  7. How to move data from userform to userform and save?
    By artromanov in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-02-2007, 03:09 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