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 ...
Search found 3 matches
- Thu Jan 16, 2020 3:58 pm
- Forum: BasicMaker 2018 for Windows
- Topic: writing a date into a cell
- Replies: 2
- Views: 37679
- Thu Jan 16, 2020 2:36 pm
- Forum: BasicMaker 2018 for Windows
- Topic: Bug with ComboBox
- Replies: 2
- Views: 35474
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 ...
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 ...
- Mon Dec 30, 2019 4:05 pm
- Forum: BasicMaker 2018 for Windows
- Topic: Type mismatch on Date
- Replies: 4
- Views: 48302
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?
Sub Main
MsgBox "Today is " & Date & "."
End Sub
please try simply:
MsgBox Date
does it work?