Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Harry Hunter   on Mar 06 In MS Office Category.

  
Question Answered By: Douglas Sullivan   on Mar 06

Sub blah()
Workbooks.Open Filename:= _
"C:\Documents and Settings\anyone\My Documents\Sample.xls"
Range("A1").FormulaR1C1 = "42"
ActiveWorkbook.Save
ActiveWorkbook.Close
End Sub

Share: 

 
 
Didn't find what you were looking for? Find more on How do you open an existing Excel file with VB... Or get search suggestion and latest updates.


Tagged: