Forum Discussion

jdavis1994's avatar
jdavis1994
Copper Contributor
Sep 14, 2021

Old Value Cell Reference

I have a workbook I have built that I am so close to finishing. The issue I am having is the workbook has a login user form, the admin sheet logs who is logged on, and when I have a cell that shows who the current user is. In another sheet there is a dynamic table, there are item codes that the employees enter and it will reference the item and time stamp the item to show when it was changed. I need to reference the cell that shows the current user BUT not change the cell of each row when a new user is logged in. Please help, I have researched this for several hours with no luck with my particular application. Images attached

 

7 Replies

  • mtarler's avatar
    mtarler
    Silver Contributor
    so tagged this with macros and VBA and I'm thinking you are using VBA to do the timestamp. What I don't know is why you can't use VBA to copy the value of the user name also. Maybe you could attach the actual files instead pictures (remove any confidential/personal info).
    • jdavis1994's avatar
      jdavis1994
      Copper Contributor

      mtarler 

      Please see attached. As far as time stamps go, no I was just using a formula in the cell duplicated using the table. the ID to get in is 1234

       

      There are some things that I have been working on adding and have run into snags as well but those are to come.

       

      Thanks for the assistance!

      • mtarler's avatar
        mtarler
        Silver Contributor
        I'm having many problems with your workbook not opening/closing and many non-existent name references. I don't know if maybe you deleted confidential info and that is the problem? It is very hard to tell what is wrong in the mix.
        That said it is obvious that you have a login form so get rid of the circular references and have the macro set those cells with the login name and timestamp. Then other cells that need to point to the person that entered the data have the macro either set those values or point to the corresponding point in the login in log.

Resources