I have a vba macro that imports data from a spreadsheet and fills a sheet called "Validation" with data from the database. I am trying to set up a worksheet change event that when the data is changed in the sheet then it will update the database with the new values.
This works at the moment but the problem I am having is that when I originally get the data for that sheet from the database the worksheet change event is firing which causes an error.
Is there any way to stop the change even firing when filling the sheet and only when something is actually manually changed in the sheet ?
Sorry if my explanation is not every good. If you need any more information please ask.