In my application I wrote this function. It works. Change it for your needs:
Private Sub cmdFormate_Click()
Dim oXL As Excel.Application
Dim tempstr As String
' Start Excel and get Application object.
Set oXL = New Excel.Application
oXL.Visible = False...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.