Am I thick?

Questions and answers about BasicMaker 2018 for Windows
Post Reply
enonod
Posts: 28
Joined: Tue Nov 08, 2016 1:54 pm

Am I thick?

Post by enonod » Fri Nov 29, 2019 4:57 pm

I am desperately trying to construct a date...
I have all the preliminaries regarding the pm Object inside each main (saving space here).
Taken from the help file but All Result in: Error in line: 2 - Type mismatch

sub Main
print DateSerial(2018,09,25)
end sub

Sub Main
Print DateValue("Sep 25, 2018")
End Sub

Sub Main
MsgBox Format(Date,"dd.mm.yyyy")
End Sub

Sub Main
pm.Range("L1").Value = Format(Date,"dd.mm.yyyy")
End Sub

Post Reply

Return to “BasicMaker 2018 for Windows”