Add a new Entry in MS Project using vba problem
-
09-10-2019 - |
Question
If i want add a new entry in project using vba the code will be:
prjApp.TableEdit Name:="&Entry", TaskTable:=True, OverwriteExisting:=True, NewName:="", NewFieldName:="Outline Code10", Width:=20, ShowInMenu:=True, LockFirstColumn:=True, DateFormat:=255, RowHeight:=1
prjApp.TableApply Name:="&Entry"
but if project is not in english but for example in italian you will get an error because instead of "&Entry" you will have "&Immissione".
It' would be nice be language-independent but how?
Solution
Not an answer to how, but it is not a good practice to modify the default tables. Instead I'd create a new table and view the way I want.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow