+ Reply to Thread
Results 1 to 2 of 2

Vba to track changes to a range on the same spread sheet

  1. #1
    Registered User
    Join Date
    10-12-2020
    Location
    Oklahoma, US
    MS-Off Ver
    Office 2019
    Posts
    1

    Vba to track changes to a range on the same spread sheet

    In a workbook I have about 40 worksheets. each worksheet has a range that i want to track changes to. To start with I'm trying to do one sheet at a time. In worksheet Superpave Template there's a range C5:H5 that has percentages. Down at C40:H40 i have the same percentages. B39 has a formula that is =TODAY()

    I would like to make it where if i change anything in C5:H5 it will automatically put the Date from B39 into the first empty row at the end of column B and then put the percentages from C5:H5 in their respective columns in the same row where B39 just got copied to. I don't know much about making VBA. What i would like would look something like what i have below but that code isn't working. The *** IF Range.("C5") = Sheets("Superpave Template").Range("C" & lastRow). Then *** is in red on ever single one of the ifs.

    Also realizing that i made the code look as if it equals then it should do that. It shouldn't. If it doesn't equal that then it should run that code

    Please Login or Register  to view this content.
    Last edited by jondavis1987; 10-12-2020 at 10:36 AM.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Vba to track changes to a range on the same spread sheet

    It would be easier to help and test possible solutions if you could attach a copy of your file. Explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples from your data (de-sensitized if necessary). See the yellow banner at the top of this page for instructions to attach a file.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

+ 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. Spread sheet to track attendance points
    By angelbd1 in forum Excel General
    Replies: 0
    Last Post: 03-05-2020, 12:27 PM
  2. Replies: 0
    Last Post: 01-19-2015, 03:31 PM
  3. [SOLVED] Track payments that are spread over a number of months.
    By dontaylor in forum Excel General
    Replies: 2
    Last Post: 07-28-2014, 06:21 AM
  4. Replies: 3
    Last Post: 04-19-2014, 06:10 PM
  5. Replies: 7
    Last Post: 11-02-2013, 03:45 AM
  6. Track Changes crash when spread contains code or form
    By Bettergains in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-25-2006, 02:10 PM
  7. [SOLVED] How do a I use a spread sheet to track grades?
    By NicoleLT06 in forum Excel General
    Replies: 7
    Last Post: 01-11-2006, 04:41 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