PDA

View Full Version : [SOLVED:] Unexpected Numerical Value in Table When Adding Blank Line



KayCee
01-15-2022, 10:55 AM
I am using Excel 2016 and have written VBA code to insert a blank line in a table. When the blank line is inserted, one of the cells also gets filled with the value 39.08 which, affording to the cell value comes from -35.5 + 5.58. The uploaded Word file shows the problem in more detail. I have no idea why this value appears in that cell. I would be grateful for any advice.:think:

Bob Phillips
01-15-2022, 11:04 AM
Post the workbook, much more helpful than some pictures.

KayCee
01-15-2022, 02:49 PM
I have uploaded an anonymised worksheet. Hopefully it will help to identify where the problem value in the cell comes from.

Bob Phillips
01-15-2022, 03:57 PM
Very odd isn't it? When I did it, it created a formula 0f =33.5+5.58.

I can only think there was some memory formula in the table, but the way I 'sorted' it was to remove the new line. then delete all the 33.5 values, then reinserted them. When I inserted a line then, it left that column blank.

KayCee
01-16-2022, 03:04 AM
I tried deleting all the values in the table and then inserting new rows and then deleting the rogue values/rows. Repeating the inserting of rows got me the same problem (see image). Please provide details of exactly how you managed to fix the problem.

KayCee
01-16-2022, 04:19 AM
I think I have managed to solve the problem. I converted the table to range values and then set up the table again. When I inserted a new row the rogue value did not appear. Thanks for you help.