+ Reply to Thread
Results 1 to 8 of 8

Create Userform to Edit, View, Remove and Find next/ previous data

  1. #1
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Create Userform to Edit, View, Remove and Find next/ previous data

    Hi,

    Attached here my sample of userform to add data only.

    Can anyone help me on how to create for
    1) Viewing
    2) Editing
    3) Remove
    4) Find Next /Previous.

    The key indicator is at column H, PF number
    Attached Files Attached Files
    Last edited by Faridwahidi; 05-12-2015 at 09:10 PM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Create Userform to Edit, View, Remove and Find next/ previous data

    Hi Farid,

    You're example has several missing PF numbers. What is the criterion for Previous/Next categorization?
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Create Userform to Edit, View, Remove and Find next/ previous data

    Hi Xladept,


    Attached my updated workbook. Sorry for overlooked on that part.


    The criteria previous/next is same as normal database system.
    i.e. if you are in the 2nd row of data. previous will be on the 1st row and next will on the 3rd row.

    PF numbers will be start on "triple Zero" (000) on the first 3 characters. I have to use apostrophe ( ' ) or set format as text. Does it will impact searching method?
    Attached Files Attached Files
    Last edited by Faridwahidi; 05-14-2015 at 09:48 PM.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Create Userform to Edit, View, Remove and Find next/ previous data

    Hi Farid,

    I added a button and a textbox along with an edit option in your add record button. I figure that for next and previous the user could just change the row number

    Userform.xlsm

  5. #5
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Create Userform to Edit, View, Remove and Find next/ previous data

    Hi xladept.

    Thanks a lot especially by introducing row number to replace find next/previous. It Working Fine.
    But Edit button does not reflect to Sheets("Data") for both column "A & B". Data for both column may NOT be same.

    I thought maybe on this part. the rest in sheets("ORIGINATOR") is reflected.
    Please Login or Register  to view this content.
    Last edited by Faridwahidi; 05-16-2015 at 01:26 PM.

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Create Userform to Edit, View, Remove and Find next/ previous data

    Hi Farid,

    You're welcome and thanks for the rep!

    I'll check it out:|

    Try this:Userform.xlsm
    Last edited by xladept; 05-16-2015 at 04:17 PM.

  7. #7
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Create Userform to Edit, View, Remove and Find next/ previous data

    Hi Xladept,

    Many Thanks for your assistance and expertise skills.
    Last edited by Faridwahidi; 05-17-2015 at 09:51 PM.

  8. #8
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Create Userform to Edit, View, Remove and Find next/ previous data

    Hi Farid,

    You're welcome - I just keep adding commas 'til I get to where I want it

+ 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. Userform to View, Edit, Add and Remove Data
    By Faridwahidi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2015, 11:33 PM
  2. Replies: 0
    Last Post: 04-17-2013, 02:19 PM
  3. Userform Search, Find and Edit Data
    By Chris270 in forum Excel Programming / VBA / Macros
    Replies: 42
    Last Post: 08-24-2011, 05:36 PM
  4. Excel VBA Userform - Sets of data, View original, add new, edit existing
    By newzealdan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-27-2011, 03:54 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