Am I thick?

Questions and answers about BasicMaker 2018 for Windows
Post Reply
enonod
Posts: 38
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


SuperTech
SoftMaker Team
SoftMaker Team
Posts: 1425
Joined: Wed Mar 11, 2020 5:31 pm

Re: Am I thick?

Post by SuperTech » Wed Jun 17, 2020 3:21 pm

Thanks for reporting this problem. I ran these codes and there is no error found. Please share the associated file of PlanMaker 2021 and Script in which you are getting this problem so that we can do further investigation for resolution.

If you want to send it to us privately, please send us an e-mail to forum[at]softmaker.de

Please also include the forum URL of this topic so that we can trace your e-mail.
https://forum.softmaker.com/viewtopic.p ... 673#p63918

Post Reply

Return to “BasicMaker 2018 for Windows”