Dim strFile as String
Dim oXLS As Excel.Application
Dim oWkb As Object
strFile = "C:\TEMP\Mytemplate.xls"
Set oXLS = CreateObject("Excel.Application")
oXLS.Workbooks.Open strFile
Set oWkb = oXLS.Workbooks(1)
oWkb.Worksheets(1).Range("NamedRange") = Me.txtMyValue
oXLS.Visible = True
Set oXLS = Nothing
Set oWkb = Nothing