By Michal Navratil on Friday, 29 March 2019
Posted in VBA Development
Likes 0
Views 1.2K
Votes 0
Hello

I have code like this
With grdValue
If .InitGrid(Application, ActiveProject.Configuration.Dictionary.ID) Then ‘it is Aucotec dictionary set as primary dictionary
.TranslateAllowed = True
.ShowRowHeader = False
.ColCount = 1
.RowCount = 1
.RowHeight(1) = 20
.ColWidth(1) = 200
.Value(1, 1) = sValue
End If
End With

When I enter value “<0:319-2>” to grid it shows me message, that reference cannot be translated into valid dictionary reference.
How to use the "InitGrid" to resolve the text reference from the project dictionary?

Regards,
Michal
View Full Post