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.)
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.)