Powermill : Macro pour informations dans document excel

Powermill : Macro pour informations dans document excel

mikael_nadaudYK8ZV
Contributor Contributor
937 Visites
1 Réponse
Message 1 sur 2

Powermill : Macro pour informations dans document excel

mikael_nadaudYK8ZV
Contributor
Contributor

Bonjour,

 

j'aimerais avoir les informations simples dans mon document Excel comme le nom du projet, le nom du programmeur ou la date.

 

Comment puis-je procédé

 

mikael_nadaudYK8ZV_0-1715782203954.pngmikael_nadaudYK8ZV_0-1715782203954.png

 

je pensais juste imprimer les données puis appeler mon fichier excel comme ci-dessous mais àa ne fonctionne pas.

DIALOGS MESSAGE ON
print $project_pathname(1)
print $project.programmer
print $project.date
DIALOGS MESSAGE OFF

 

string $fileLocation = 'N:\delcam\home\pmill2\PROG REF\FEUILLE FF-EV\FBP0000FF.xlsx'
ole fileaction 'open' ${fileLocation}

 

Pouvez vous m'aider ? Merci

 


Le titre du sujet a été modifié par un modérateur pour faciliter la recherche. Titre original:
Macro pour informations dans document excel

0 J'aime
Solutions acceptées (1)
938 Visites
1 Réponse
Reply (1)
Message 2 sur 2

rafael.sansao
Advisor
Advisor
Solution acceptée

Hello,

 

Unfortunately, it is not possible to insert information into an Excel file using Powermill macros. Powermill macros can only handle text format files.

You will need a Powershell script or software (in C#, for example) to insert information into the excel file.

Rafael Sansão

OptiNC - www.optinc.tech

EESignature

0 J'aime