Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-19-2009, 08:26 AM
MBorn MBorn is offline
Junior Member
 
Join Date: Feb 2009
Posts: 4
Default Run Excel Macro

Hello,

when I start an Excel-spreadsheet with Open Spreadsheet and then run
Excel-Macro, the Macro (with the Default Session) will run without
a problem.

When I leave the spreadsheet open and want to start the same
Task WITHOUT opening the spreadsheet, (so: ONLY run the Macro,
because the spreadsheet is already open) I get the message
"Cannot find any open spreadsheet command using session
name "Default".

How do you handle this ?

Thank you,

Born
Reply With Quote
  #2 (permalink)  
Old 06-19-2009, 01:02 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Post

Hello Born,

When you use the ‘Open-Spreadsheet’ command, it starts a session named ‘Default’ and that will continue to run unless you ended the session using the ‘Close Spreadsheet’ command or close the spreadsheet manually. All the commands between ‘Open-Spreadsheet’ and Close Spreadsheet’ are dependant on the session which is started using the ‘Open Spreadsheet’ command. If you wish to work with many separate excel spreadsheets, specify a different session name while opening the each spreadsheet.

If you wish to run excel macro in an already open spreasheet then assign a shortcut key to that macro and play that shortcut key using 'Insert Keystrokes' command.

Hope that helps.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 08:06 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved