K
Kila01
I have made the macro below where a custom filter a.o. produces a .csv file
to be imported in Siebel.
However, the Work column gives me problems. I cannot in MSP Options select a
"clean number" format instead of "hrs" or "h" which means when running the
Siebel Import afterwards, it fails, only straight number format recognized.
Right now I survive by opening the .cvs file and do a manual Search/Replace
- but when rolling out the solution to our units.......
One of three solutions needed:
1: Show me how to deselect this format in Project.
2: Modify the "Work" column format in the import macro, if possible
3:Or extend the MSP macro to open the .csv, do the search/replace and
Close.SaveChanges = True
MapEdit Name:="Export Tasks to Siebel", Create:=True,
OverwriteExisting:=True, DataCategory:=0, CategoryEnabled:=True,
TableName:="Task_Table1", FieldName:="ID", ExternalFieldName:="Sorting",
ExportFilter:="Export_Filter_Siebel", ImportMethod:=0, HeaderRow:=True,
AssignmentData:=False, TextDelimiter:=",", TextFileOrigin:=0,
UseHtmlTemplate:=False, IncludeImage:=False
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Text3", ExternalFieldName:="Project"
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Text1", ExternalFieldName:="Domain"
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Text2", ExternalFieldName:="Type"
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Name", ExternalFieldName:="Name"
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Work", ExternalFieldName:="Budgeted Hours"
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Start", ExternalFieldName:="Planned Start"
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Finish", ExternalFieldName:="Planned Completion"
FileSaveAs Name:="C:\Documents and Settings\All Users\Desktop\Task
Export File.csv", FormatID:="MSProject.CSV", map:="Export Tasks to Siebel"
MsgBox ("'Task Export File.csv' file saved on your Desktop")
Regards
Kim
to be imported in Siebel.
However, the Work column gives me problems. I cannot in MSP Options select a
"clean number" format instead of "hrs" or "h" which means when running the
Siebel Import afterwards, it fails, only straight number format recognized.
Right now I survive by opening the .cvs file and do a manual Search/Replace
- but when rolling out the solution to our units.......
One of three solutions needed:
1: Show me how to deselect this format in Project.
2: Modify the "Work" column format in the import macro, if possible
3:Or extend the MSP macro to open the .csv, do the search/replace and
Close.SaveChanges = True
MapEdit Name:="Export Tasks to Siebel", Create:=True,
OverwriteExisting:=True, DataCategory:=0, CategoryEnabled:=True,
TableName:="Task_Table1", FieldName:="ID", ExternalFieldName:="Sorting",
ExportFilter:="Export_Filter_Siebel", ImportMethod:=0, HeaderRow:=True,
AssignmentData:=False, TextDelimiter:=",", TextFileOrigin:=0,
UseHtmlTemplate:=False, IncludeImage:=False
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Text3", ExternalFieldName:="Project"
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Text1", ExternalFieldName:="Domain"
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Text2", ExternalFieldName:="Type"
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Name", ExternalFieldName:="Name"
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Work", ExternalFieldName:="Budgeted Hours"
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Start", ExternalFieldName:="Planned Start"
MapEdit Name:="Export Tasks to Siebel", DataCategory:=0,
FieldName:="Finish", ExternalFieldName:="Planned Completion"
FileSaveAs Name:="C:\Documents and Settings\All Users\Desktop\Task
Export File.csv", FormatID:="MSProject.CSV", map:="Export Tasks to Siebel"
MsgBox ("'Task Export File.csv' file saved on your Desktop")
Regards
Kim