Hi all,
I have designed a userform where time is entered into several text boxes in the [hh]:mm format. This data is then transferred to a worksheet where I was hoping to utilise the Sum function to add up the total time.
I am formatting the target worksheet cell in to [hh]:mm (in vba) as well as the userform variable prior to transfer. The data appears to transfer successfully and appears in the cell. However when I try and sum a number of these cells the sum always appears as zero. When I select the cell in excel the sum value at the bottom of the excel screen also displays zero.
Hoping somebody has has an idea why this is happening ... I suspect a formatting issue ...
many thanks in advance,
rforob
I have designed a userform where time is entered into several text boxes in the [hh]:mm format. This data is then transferred to a worksheet where I was hoping to utilise the Sum function to add up the total time.
I am formatting the target worksheet cell in to [hh]:mm (in vba) as well as the userform variable prior to transfer. The data appears to transfer successfully and appears in the cell. However when I try and sum a number of these cells the sum always appears as zero. When I select the cell in excel the sum value at the bottom of the excel screen also displays zero.
Hoping somebody has has an idea why this is happening ... I suspect a formatting issue ...
many thanks in advance,
rforob