Excel Exporting Question

A

ada

'
***********************************************************
*******
' Copy contents into Clip-Board
Dim objExcel
ptable.copy(ptable.selection)
'
***********************************************************
*******
' Open the file inside an instance of Excel
Set objExcel = CreateObject
("Excel.Application")
objExcel.Application.Visible = true
objExcel.workbooks.Add
objExcel.workbooks(1).Worksheets(1).Paste
objExcel.workbooks(1).Worksheets(1).Range
("A1").AutoFormat
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top