Hello Welcome to the Forums,
Here is the code you have to change as below,
Set fc = Application.XDocuments.NewFromSolutionWithData(objURL.Text, objURI.Text)
to
Set fc = Application.XDocuments.NewFromSolutionWithData(varXMLData, varSolutionURI, dwBehaviour)
varXMLData -> XMLDocument type of data
varSolutionURI -> URI of the solution
dwBehaviour -> By default it is 1.
If you want new solution form then code is here,
Set fc = Application.XDocuments.NewFromSolution(varSolutionURI)