Try this in the Python window:print ", ".join(el.name for el in arcpy.mapping.ListLayoutElements(activeMXD))
this will list the names of every layout element in the document. It may be the case that the name is wrong in the script or it is not found because it is in a group element.If you are using the raw flag on a string, you don't need to escape backslashes. Use one of:mxd = arcpy.mapping.MapDocument("H:\\My Files\\Test\\Project.mxd")
ormxd = arcpy.mapping.MapDocument(r"H:\My Files\Test\Project.mxd")
Again, ensure the element is being found:import arcpy
mxd = arcpy.mapping.MapDocument(r"C:\Test\Map.mxd")
#search for �??Title Block�?� and if found move to desired location
for elm in arcpy.mapping.ListLayoutElements(mxd, "GRAPHIC_ELEMENT"):
if elm.name == "My Map":
print "FOUND IT!"
elm.elementPositionX = 4.75
elm.elementPositionY = 10.5