Hello!
I'm trying to figure out a macro that can display the text before the 6th instance of a period in a string.
=TEXTBEFORE(".",6) works perfectly in Excel but I need this to work in MS Project and I don't know of a formula that will do this using MS Project's list of commands.
If this is possible using MS Project's limited functions, that would be ideal but I think a macro would be easier.
I'm not very strong in VBA so any help would be greatly appreciated, thanks!
I'm trying to figure out a macro that can display the text before the 6th instance of a period in a string.
=TEXTBEFORE(".",6) works perfectly in Excel but I need this to work in MS Project and I don't know of a formula that will do this using MS Project's list of commands.
If this is possible using MS Project's limited functions, that would be ideal but I think a macro would be easier.
I'm not very strong in VBA so any help would be greatly appreciated, thanks!
Original | TEXTBEFORE 6th "." |
1.2.3.4.5.6.7.8 | 1.2.3.4.5.6 |
1.2.3n.4.5.5.6.7 | 1.2.3n.4.5.5 |
1n.2n.3n.4n.5.6.7.8 | 1n.2n.3n.4n.5.6 |
1.2.3.3n.5.9n.10.8n.9n.10n | 1.2.3.3n.5.9n |