+ Reply to Thread
Results 1 to 6 of 6

VBA to have Modified by and Modified on column for all rows

  1. #1
    Registered User
    Join Date
    11-22-2011
    Location
    Noida
    MS-Off Ver
    Microsoft 365 MSO (16.0.13......) 32 bit
    Posts
    40

    VBA to have Modified by and Modified on column for all rows

    Hi,

    I have a tracker worksheet where our team tracks all complaints from customer.
    We need columns to know Modified by and last modified columns.
    Starting row is 2. Last row need to be identified by VBA I suppose.

    I used below below code for range 2 - 1000 but this is not showing any results in Column P and Q.
    This 1000 is not upper cap so can we make it dynamic.

    Please Login or Register  to view this content.
    Another problem is with Auto fill dropdown macro which is working for D, E and L columns but not for the drop down in Column G.

    File is attached for your investigation.

    Regards,
    Gaurav
    Attached Files Attached Files

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: VBA to have Modified by and Modified on column for all rows

    Your dropdowns in column G work fine.

    See if this code works for you...
    Please Login or Register  to view this content.
    Last edited by dangelor; 07-24-2020 at 01:20 PM.

  3. #3
    Registered User
    Join Date
    11-22-2011
    Location
    Noida
    MS-Off Ver
    Microsoft 365 MSO (16.0.13......) 32 bit
    Posts
    40

    Re: VBA to have Modified by and Modified on column for all rows

    Hello,

    Thanks a lot for your help and it solved my problem.
    However, once I add this macro 'undo' function doesn't work. Is it possible to have undo function along with this macro.
    If not that is also ok.

    Regards,
    Gaurav

  4. #4
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: VBA to have Modified by and Modified on column for all rows

    I don't think so, but there are those much more experienced than I... ask in a new thread.

  5. #5
    Registered User
    Join Date
    11-22-2011
    Location
    Noida
    MS-Off Ver
    Microsoft 365 MSO (16.0.13......) 32 bit
    Posts
    40

    Re: VBA to have Modified by and Modified on column for all rows

    ok, thanks

    However with code you have shared it doesn't exclude header rows. If modify any of column header in Row 1, it modifies the Column P and Q header names with date and name.
    Can we start this range from Row 2 to End of Row.

  6. #6
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: VBA to have Modified by and Modified on column for all rows

    Please Login or Register  to view this content.

+ 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. Replies: 2
    Last Post: 09-26-2015, 04:34 AM
  2. datestamp a specific column when a cell is modified
    By Robso in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-18-2015, 06:13 AM
  3. auto update of values in rows when rows above is modified
    By sajithnair in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-02-2014, 01:45 AM
  4. Merge multiple duplicate rows with the last Activity modified date
    By MFEdwards in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-13-2013, 03:28 PM
  5. When cell is modified Hide Entire Rows in a Range
    By Hudas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2012, 09:43 AM
  6. Can this code be modified to delete rows?
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-19-2006, 07:05 AM
  7. [SOLVED] Enter timestamp when column is modified
    By Mikus in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-04-2005, 01:05 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