M
meg99
using 2003. I have a user form with a combo box. I want the combo
box to display the available calendars. Here is my code for that:
Dim CalCnt As Integer, c As Integer
Dim CalArray() As String
CalCnt = ActiveProject.BaseCalendars.Count
For c = 1 To CalCnt
ReDim CalArray(c)
CalArray(c) = ActiveProject.BaseCalendars.Item(c).Name
Next c
I want to set the combox data source to CalArray. However, when I
enter CalArray in the Control Source or Row Source, I get an error
message - "Invalid Propvery Value."
How can I do this?
meg99
box to display the available calendars. Here is my code for that:
Dim CalCnt As Integer, c As Integer
Dim CalArray() As String
CalCnt = ActiveProject.BaseCalendars.Count
For c = 1 To CalCnt
ReDim CalArray(c)
CalArray(c) = ActiveProject.BaseCalendars.Item(c).Name
Next c
I want to set the combox data source to CalArray. However, when I
enter CalArray in the Control Source or Row Source, I get an error
message - "Invalid Propvery Value."
How can I do this?
meg99