helpmeplease76218
New Member
- Joined
- Jan 11, 2021
- Messages
- 2
Hi Everyone,
I have a quite specific question:
I am trying to create a VBA Audit Log of a Very Hidden Sheet that is edited via an interface:
So in my excel document I have a visible 'Interface' Sheet that allows individuals to edit and inset data into a database. This 'Database' Sheet is veryhidden to protect it from the users. The VBA code for this 'Database' sheet contains the code to create an Audit log (not as a module but in the sheet itself); I tested this code separately without the hidden sheet and it is working find so this code is not the issue.
So when the user edits, for example, data in the interface sheet and hits a button to save it (this save button runs a module in the VBA code), it changes the values in the database sheet and of this I want to create a log. However, since the database sheet is veryhidden and the user is only interacting with the interface, the audit code I have written for the 'Database' sheet does not run.
Also note that while the code for the save button (a module interacting with all these sheets) un-hides the database sheet, this still does not run the code on that sheet.
Hope you understand that.
Any idea how I can do this: run code saved to a veryhidden sheet that is made visible via a different save module with a user interacting only with the visible interface sheet?
Thanks in advance!
I have a quite specific question:
I am trying to create a VBA Audit Log of a Very Hidden Sheet that is edited via an interface:
So in my excel document I have a visible 'Interface' Sheet that allows individuals to edit and inset data into a database. This 'Database' Sheet is veryhidden to protect it from the users. The VBA code for this 'Database' sheet contains the code to create an Audit log (not as a module but in the sheet itself); I tested this code separately without the hidden sheet and it is working find so this code is not the issue.
So when the user edits, for example, data in the interface sheet and hits a button to save it (this save button runs a module in the VBA code), it changes the values in the database sheet and of this I want to create a log. However, since the database sheet is veryhidden and the user is only interacting with the interface, the audit code I have written for the 'Database' sheet does not run.
Also note that while the code for the save button (a module interacting with all these sheets) un-hides the database sheet, this still does not run the code on that sheet.
Hope you understand that.
Any idea how I can do this: run code saved to a veryhidden sheet that is made visible via a different save module with a user interacting only with the visible interface sheet?
Thanks in advance!