|
-
February 15th, 2000, 11:38 PM
#1
Newbie question
Hello all, this code here works great to change the 3 column of the first row in excel sheet when the excel file is open, How can I change the excel sheet when it is not even open
here's my code:Private Sub Command1_Click()
Dim xlBook As New Excel.Workbook
Set xlBook = CreateObject("test.xls")
Dim xlSheet As Excel.Worksheet
Set xlSheet = xlBook.Worksheets(1)
xlSheet.Cells(1, 3).Value = 4
End Sub
-
February 16th, 2000, 02:27 AM
#2
Re: Newbie question
you can directly manipulate Excel files using ADO.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|