Hi everyone
I have code to save user form data to a table and to also add some of the data to another table on the same sheet
The code I am using is exactly the same for both tables with the change in cell and range reference , of course.
In the first instance saving to first table, the code to insert a new table row is as follows:
This all works without a hitchPlease Login or Register to view this content.
In the next section to save the same date to another table, I have, again in part,
The funny part is that sometime it works fine and other times (more often than not, it returns the error.Please Login or Register to view this content.
I looked at both parts of the statement in the Watch Window and it tells me that second part (=Range("Q8").value is a variant. I don't know how to fix that. Like I said, the table cells are formatted as a number without decimals.
Its obvious that I'm missing something but I don't know what it is.
Bookmarks