Jump to content

Excell Attatch 2


Recommended Posts

#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

Link to comment
Share on other sites

#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
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...