Jump to content

Recommended Posts

Posted

#include <Excel.au3>
#include <File.au3>


$oExcel = _ExcelBookAttach("", "Microsoft Excel - Dad") ;with $s_mode = "Title" ==> Title of the Excel window
_ExcelWriteCell($oExcel, "If you can read this, then Success!", 1, 1) ;Write to the Cell

this is my code and it dosnt seem to be attaching correctly. I'm trying to do this with only the use of the excel documents name as displayed above. Although im not sure if there is more needed. Can someone please help. Thank You

Posted (edited)

#include <Excel.au3>
#include <File.au3>


$oExcel = _ExcelBookAttach("", "Microsoft Excel - Dad") ;with $s_mode = "Title" ==> Title of the Excel window
_ExcelWriteCell($oExcel, "If you can read this, then Success!", 1, 1) ;Write to the Cell

this is my code and it dosnt seem to be attaching correctly. I'm trying to do this with only the use of the excel documents name as displayed above. Although im not sure if there is more needed. Can someone please help. Thank You

Try $oExcel = _ExcelBookAttach("Microsoft Excel - Dad", "Title") Edited by Volly

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...