_:n87b6236675374523ad4be9f66cab9123xb5
<http://schema.org/text>
"My problem is that when I run the macro (with the excerpt already in the page and attached again below) is that it says that it successfully copies x number of fields but doesnt actually copy the contents of the Percent Complete field into the Text field.\r\nSo text field is blank even after the macro runs.\r\n\r\nI think I need to convert the percent complete field into a string/text so that it can save in that field. Because Percent complete is in percent format.\r\n\r\n\r\nDim t as task \r\nDim ts as tasks \r\n\r\nSet Ts = ActiveProject.Tasks \r\nintTcounter = 0 \r\n\r\nIf not t is nothing then \r\nt.PercentageComplete = t.Text7 \r\nintTcounter = intTcounter + 1 \r\nEnd If \r\nnext t \r\n'Display message \r\nMsgBox (&quot;Macro done&quot; & Chr(13) & intTcounter & &quot; Task Complete&quot;) \r\n\r\nEnd"
<https://ccm.net/forum/affich-66405-microsoft-project-and-vb-help>