open access recordset as an excel spreadsheet

V

Van T. Dinh

Try

mobjXl.ActiveSheet.Columns("A:J").HorizontalAlignment = Excel.xlCenter

mobjXlRange("A1").Select

(assuming that you want to run the code from Access, i.e. after the code you
posted originally.)
 
G

Guest

Thanks! Works Great

Van T. Dinh said:
Try

mobjXl.ActiveSheet.Columns("A:J").HorizontalAlignment = Excel.xlCenter

mobjXlRange("A1").Select

(assuming that you want to run the code from Access, i.e. after the code you
posted originally.)
 

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