Search found 3 matches

by Valeri Vlassov
Thu Jan 16, 2020 3:58 pm
Forum: BasicMaker 2018 for Windows
Topic: writing a date into a cell
Replies: 2
Views: 965

Re: writing a date into a cell

An example of writing current date to A1 cell and reading the A1 cell as date: Dim pm as Object Set pm = CreateObject("PlanMaker.Application") pm.Application.Visible = True pm.Workbooks.Add pm.ActiveSheet.Range("A1:A1").Item(1, 1).Value = Date dateFromCell = pm.ActiveSheet.Range("A1:A1").Item(1, 1)....
by Valeri Vlassov
Thu Jan 16, 2020 2:36 pm
Forum: BasicMaker 2018 for Windows
Topic: Bug with ComboBox
Replies: 2
Views: 173

Re: Bug with ComboBox

Please use Function Dialogfn for this (changes are marked as ###) : Option Explicit Dim pm as Object Set pm = CreateObject("PlanMaker.Application") pm.Visible = True pm.Activate Dim AList$(3) AList(0) = "Cat" AList(1) = "Dog" AList(2) = "Elephant" Dim BList$(3) BList(0) = "Sun" BList(1) = "Rain" BLi...
by Valeri Vlassov
Mon Dec 30, 2019 4:05 pm
Forum: BasicMaker 2018 for Windows
Topic: Type mismatch on Date
Replies: 4
Views: 229

Re: Type mismatch on Date

It works well for me:

Sub Main
MsgBox "Today is " & Date & "."
End Sub

please try simply:
MsgBox Date

does it work?

Go to advanced search