Jump to content
Sign in to follow this  
Medic873

Excell Attatch 2

Recommended Posts

Medic873

#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

Share this post


Link to post
Share on other sites
Bert

#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

Share this post


Link to post
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
Sign in to follow this  

×