SharePoint Vs. Excel VBA

%3CLINGO-SUB%20id%3D%22lingo-sub-873137%22%20slang%3D%22en-US%22%3ESharePoint%20Vs.%20Excel%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-873137%22%20slang%3D%22en-US%22%3EI%20have%20a%20Excel%20VBA%20file%20which%20currently%20writes%20to%20a%20sharepoint%20list%20on%20an%20onpremise%20site.%20This%20list%20triggers%20off%20an%20approval%20workflow%20(visual%20studio%20workflow)%20.%3CBR%20%2F%3EDetails%20%3B%3CBR%20%2F%3EThe%20excel%20sheet%20has%20a%20huge%20form%20with%20validations%20and%20also%20the%20approval%20matrix%20which%20defines%20the%20next%20approver%20in%20sequence.%20Upon%20saving%20the%20excel%20file%2C%20the%20appprover%20sequence%20is%20generated%20based%20on%20the%20input%20fields%20and%20is%20written%20into%20a%20sharepoint%20list%20using%20list.asmx%20and%20other%20custom%20asp.net%20webservices.%20Each%20excel%20file%20is%20a%20new%20request%20residing%20in%20a%20document%20library.%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20plan%20to%20move%20this%20application%20to%20SharePoint%20online%20and%20due%20to%20the%20complicated%20VBA%20code%2C%20we%20do%20not%20want%20to%20replace%20the%20excel%20form%20with%20a%20sharepoint%20custom%20list%20form%20or%20powerapps.%20The%20form%2C%20the%20business%20logic%20in%20VBA%2C%20validations%20will%20still%20be%20in%20excel%20but%20we%20do%20not%20want%20the%20excel%20form%20fields%20to%20drive%20the%20approval%20flow.%20In%20order%20to%20do%20this%2C%20only%20form%20fields%20that%20determine%20the%20workflow%20will%20be%20put%20on%20a%20sharepoint%20custom%20list%20form%20and%20visual%20studio%20workflow%20will%20be%20replaced%20by%20MS%20flow.%3CBR%20%2F%3EThe%20idea%20is%20to%20route%20the%20excel%20file%20to%20a%20list%20of%20approvers%20based%20on%20the%20metadata%20fields.%20The%20issue%20is%20that%20the%20user%20needs%20to%20fill%20in%20fields%20twice%20-%20in%20the%20excel%20form%20and%20the%20new%20custom%20list%20form.%3CBR%20%2F%3EIs%20this%20a%20recommnded%20approach%3F%20Any%20ideas%20are%20welcome.%20Option%201%20)Having%20the%20user%20to%20fill%20redundant%20fields%20and%20avoiding%20logic%20inside%20excel%20to%20drive%20workflow%20Vs%20Option%202)%20having%20VBA%20code%20to%20write%20the%20approval%20sequence%20to%20sharepoint%20list%20which%20would%20trigger%20the%20workflow.%20Which%20is%20the%20best%20approach%20%3F%20Since%20.asmx%20serviced%20are%20being%20deprecated%2C%20do%20I%20need%20to%20use%20list.svc%20in%20VBA%20to%20write%20to%20SharePoint%20online%20list%3F%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-873137%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor
I have a Excel VBA file which currently writes to a sharepoint list on an onpremise site. This list triggers off an approval workflow (visual studio workflow) .
Details ;
The excel sheet has a huge form with validations and also the approval matrix which defines the next approver in sequence. Upon saving the excel file, the appprover sequence is generated based on the input fields and is written into a sharepoint list using list.asmx and other custom asp.net webservices. Each excel file is a new request residing in a document library.

We plan to move this application to SharePoint online and due to the complicated VBA code, we do not want to replace the excel form with a sharepoint custom list form or powerapps. The form, the business logic in VBA, validations will still be in excel but we do not want the excel form fields to drive the approval flow. In order to do this, only form fields that determine the workflow will be put on a sharepoint custom list form and visual studio workflow will be replaced by MS flow.
The idea is to route the excel file to a list of approvers based on the metadata fields. The issue is that the user needs to fill in fields twice - in the excel form and the new custom list form.
Is this a recommnded approach? Any ideas are welcome. Option 1 )Having the user to fill redundant fields and avoiding logic inside excel to drive workflow Vs Option 2) having VBA code to write the approval sequence to sharepoint list which would trigger the workflow. Which is the best approach ? Since .asmx serviced are being deprecated, do I need to use list.svc in VBA to write to SharePoint online list?
0 Replies