+ Reply to Thread
Results 1 to 11 of 11

Worksheet Event Copy & Update Data

  1. #1
    Registered User
    Join Date
    04-11-2009
    Location
    Karachi
    MS-Off Ver
    Excel 2021 at home Excel 2013 at work
    Posts
    26

    Worksheet Event Copy & Update Data

    Hi,
    My first sheet is called seats and it is divided into 3 sections left side, center and right side data. In all three sections, there are different seat numbers assigned to different people, and I am manually obtaining and setting each seat number on the sheet "Seating by Alpha" as well as the sheet "Seating by Rows".

    I am seeking to make the process of reserving seats and editing seats easier and easy so Whenever I reserve seats and edit seats in three sections in sheet Seats, they will automatically update in "Seating by Alpha" and "Seating by Rows"
    Attached Files Attached Files
    Last edited by ayazgreat; 02-04-2024 at 06:22 AM.

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,906

    Re: Worksheet Event Copy & Update Data

    Hi, hos is your VBA knowledge?
    I am asking this because you will need some coding knwoledge to do it with VBA.
    Since the versions of Excel at home and office are pre-2021 adn365 some of the newer functions are unavailable
    I'll see if I can come up with a solution for you. For straters, you can use the worksheet_Change event
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    04-11-2009
    Location
    Karachi
    MS-Off Ver
    Excel 2021 at home Excel 2013 at work
    Posts
    26

    Re: Worksheet Event Copy & Update Data

    Yes I do have some knowledge of VBA and I am using office 2021
    Last edited by ayazgreat; 02-04-2024 at 07:00 AM.

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,906

    Re: Worksheet Event Copy & Update Data

    Okay, your profile does not mention 2021, that's why I asked

  5. #5
    Registered User
    Join Date
    04-11-2009
    Location
    Karachi
    MS-Off Ver
    Excel 2021 at home Excel 2013 at work
    Posts
    26

    Re: Worksheet Event Copy & Update Data

    Ok thanks Keebellah. I hope that you will come up with a solution

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,906

    Re: Worksheet Event Copy & Update Data

    I have taken a look at your file and have many questions and also wonder why your approach is selecting a seat in the Seats worksheet.
    I would suggest one sheet just like to other two with all the seats in a table and next to each seat you fill in the name of the person, and whatever information you want.
    Then just a formula in all the other worksheest that lookup this seat and fill in the entered names.
    I don't know if this actually a seat gegister or jusr a seating reporting app.

  7. #7
    Registered User
    Join Date
    04-11-2009
    Location
    Karachi
    MS-Off Ver
    Excel 2021 at home Excel 2013 at work
    Posts
    26

    Re: Worksheet Event Copy & Update Data

    My need is just for seating reporting as I was unable to resolve it through formulas, so I asked for a VBA solution

  8. #8
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,906

    Re: Worksheet Event Copy & Update Data

    is the Seats page the one you want to show as a report or one of the other worksheets?
    Since you're using Office 2021 there is a way with formula's.
    I'm asking this because the information in the seats sheet is just showing the name and surname in some cases while the information in the other one is moer extensive.
    I'll put one formula inthe seats that I think might help.
    Upload the file later today

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,630

    Re: Worksheet Event Copy & Update Data

    This is worksheet event code. This is updating data for 'Seating by Alpha' sheet. When you add data in 'Seats' sheet it will up date in Seating by Alpha sheet and also sorts on column A.
    When Data is deleted that particular data is removed in Seating by Alpha sheet.
    Try this and come back. If it is Ok we will go to next sheet.
    Note the changes in Seating by Alpha sheet.
    For column C no data in Seats Sheet.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 02-08-2024 at 08:15 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  10. #10
    Registered User
    Join Date
    04-11-2009
    Location
    Karachi
    MS-Off Ver
    Excel 2021 at home Excel 2013 at work
    Posts
    26

    Re: Worksheet Event Copy & Update Data

    Thanks for your response, I have just checked it and found an error while removing data at this line

    DelRo = Evaluate("Match(""" & Ro & St & Sec & """,'" & .Name & "'!D:D&'" & .Name & "'!E:E&'" & .Name & "'!F:F" & ", 0)")

    And stop working when I make any change it does not work
    Last edited by ayazgreat; 02-17-2024 at 01:34 AM.

  11. #11
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,630

    Re: Worksheet Event Copy & Update Data

    This is because data mismatch between 'seats' and seating by 'alpha' sheet.
    Row 56 is having Stage F56=Stage.
    Pl confirm that all data in sheet 'seats' is available in 'alpha' sheet and exactly match. No extra data should be available in any of the sheets.
    Try for Few data.

+ 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. [SOLVED] Worksheet change event copy column error
    By ricklou in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-21-2017, 06:59 AM
  2. Update worksheet 1 with data from worksheet 2 based on date validation
    By Grilleman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2016, 03:43 PM
  3. [SOLVED] Worksheet Event - update chart axis scale, depending on cell value
    By Jabba69 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-29-2014, 06:41 AM
  4. Excel 2010 Macro to copy worksheet, update formula and rename worksheet
    By madmak0203 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2012, 09:18 PM
  5. Worksheet Change Event Won't Update without Refreshing Page
    By 3link in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2011, 01:17 AM
  6. Worksheet Event to copy/insert Row
    By Spellbound in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-11-2009, 06:35 AM
  7. Replies: 5
    Last Post: 06-23-2005, 06:05 PM

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