Forum Discussion

Smeac81's avatar
Smeac81
Copper Contributor
Dec 04, 2023
Solved

Procedure is greyed out in VBA Insert pulldown

I am unfamiliar with VBA but find myself in dire need of its LTRIM function as I have imported my Excel project plan into Project (original Project file is corrupted) complete with leading spaces at ...
  • TrevorATperfectproject's avatar
    Dec 08, 2023
    While you have all of the tasks (and summaries) in excel, and they all have leading spaces, why not remove them there before copying them and pasting them into MSP?
    You could use a nested function like =proper(clean(trim))), and clean it all up in one go.
    Proper() converts test to title case (or proper noun case), with caps on first character of each word.
    Clean() removes unprintable characters, whatever they are but anyway they are removed.
    Trim() removes leading, trailing and double spaces.

    After, you just go through and re-do the WBS indents in MSP.

Resources