brian75 Posted September 18, 2013 Posted September 18, 2013 (edited) Greetings All, I'm a noob and I'm trying to figure out how to record the serial # of each machine that runs a certain script. So far (modifying a co-worker's script) I've been able to get the serial # and write it to a variable called $SerialNum. My question is would I use _ExcelWriteCell to write the value of $SerialNum to cell A1 in the spreadsheet? If so how do I tell it the value in _ExcelWriteCell = the value of $SerialNum? I was just thinking I would open the spreadsheet, insert a new row, write my value to A1, then save and close it. Thanks much for any assistance! Edited September 18, 2013 by brian75
Moderators JLogan3o13 Posted September 18, 2013 Moderators Posted September 18, 2013 It seems you are on the right track. Look at _ExcelBookOpen(), _ExcelWriteCell() and _ExcelBookClose() in the Help file. Once you have tried a few things out, feel free to post here if you run into issues; we'd be happy to help. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now