+ Reply to Thread
Results 1 to 5 of 5

Mirror last three rows on different and updating logsheet.

  1. #1
    Registered User
    Join Date
    02-25-2021
    Location
    Stockholm
    MS-Off Ver
    Windows 7
    Posts
    10

    Mirror last three rows on different and updating logsheet.

    Hi guys,

    I'm from Sweden and this is my first post. I'm pretty new to VBA but I'm completely sold. This is so much fun. I've set up a spreadsheet with a graphic dashboard and different sheets to each department of the company which our employees can use to send and report faulty forklifts with automatic email to repairmen. With every filed report/sent email, a hidden logsheet is constantly updated in column b c d e f g in a sheet called "Logg", information that shows a timestamp, user, truckID, type of error, "to be fixed"/"repaired" and department.
    The thing is, i would like to mirror the last three or so rows on the sheet "Logg", or if possible only column b d and d. These three lines i want to show to everyone on the dashboard sheet, called "Start". I want the information showed on row 8, 9 and 10, J, K and L. If someone reports a new truck, Logg gets updated and the oldest of the three disappear on the dashboard. Is this even possible? I'v tried looking for an answer and I'm so grateful for all help I've found yet on this site.

    Take care.

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Mirror last three rows on different and updating logsheet.

    On your dashboard sheet, you can add the last three items with VBA. In the Logg sheet, you can setup a Worksheet_Change event to notice when a change is executed on the Logg sheet on the desired columns. You can then use the event trigger to write the last three items to the dashboard.

    If you post a sample workbook as per the yellow banner above we can help further.

  3. #3
    Registered User
    Join Date
    02-25-2021
    Location
    Stockholm
    MS-Off Ver
    Windows 7
    Posts
    10

    Re: Mirror last three rows on different and updating logsheet.

    Ok. I'm not really sure what you need. I made a quick simple replica of my spreadsheet. The thing is, my dashboard is composed of shapes with charts. So cells will probably don't work? Is there another way to mimic the last rows on Logg to my dashboard?

    Thank you!
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Mirror last three rows on different and updating logsheet.

    Not sure why you think cells won't work. Try placing this code in the Logg sheet module.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by maniacb; 03-11-2021 at 08:52 PM. Reason: Add file

  5. #5
    Registered User
    Join Date
    02-25-2021
    Location
    Stockholm
    MS-Off Ver
    Windows 7
    Posts
    10

    Re: Mirror last three rows on different and updating logsheet.

    Thank you. It works perfectly!

+ 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] Message box to display at end of logsheet search with no finds
    By pjbassdc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-10-2017, 08:14 PM
  2. [SOLVED] Hide Rows to Mirror AutoFilter
    By Seve in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-27-2016, 04:32 AM
  3. [SOLVED] Code to copy from userform to logsheet not working, no error messages
    By pjbassdc in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-12-2013, 03:19 PM
  4. Mirror rows within same sheet
    By geamer in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-13-2013, 01:47 PM
  5. Replies: 1
    Last Post: 02-07-2013, 01:19 PM
  6. Updating a mirror list with new rows
    By larremail in forum Excel General
    Replies: 1
    Last Post: 06-13-2012, 03:18 AM
  7. [SOLVED] Counting like results from a logsheet
    By pjbassdc in forum Excel General
    Replies: 3
    Last Post: 05-24-2012, 01:17 PM

Tags for this Thread

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