I am trying to get an item such as WO123000 to come out as WO-123000. Here is the code, but it isn't working for me.
WorkOrder = String.Format("{0:##-######}", Trim(WorkOrderNum))
This is where WorkOrderNum is WO123000. This error stems from VB6.Format migration issues.