I am a newbie to vba however I have created the following to open a ppt template saved on a server

Sub OpenPPTFromServer() ' Replace "\\Server\Path\to\Your\File.pptx" with the actual server path
Dim serverFilePath As String
serverFilePath = "\\Server\Path\to\Your\File.pptx"
' Open the file
Presentations.Open serverFilePath
End Sub
which works, however it opens the .potx rather than opening a new file from template, can someone please help with what to add to this?

thanks in advance