View Single Post
 
Old 05-16-2023, 12:59 AM
dh48 dh48 is offline Windows 11 Office 2007
Novice
 
Join Date: May 2023
Posts: 4
dh48 is on a distinguished road
Default Macro doesn't work

Hello (I'm German),


I have a Workbook with a Sheet named Daten. On this Sheet I have a Cell named AVGVerbrauch.

And this is my Macro in the Sheet Calculate:


Private Sub Worksheet_Calculate()
Call SaveSetting("Benzinstatistik", "Verbrauch", "Euro100km", AVGVerbrauch)
End Sub


The AVGVerbrauch is the cell Daten!$F$75 on Sheet Daten.


The problem is, when I use this function call the AVGVerbrauch shows always NULL and not the real value of 7,22 of the Cell.


What is wrong?


Regards - Dietrich
Reply With Quote