Hello all,
I would like to have XL open at a particular cell every time it is run.
Are there command-line parameters that can be passed?
Cheers
ganymede--
ganymede69
------------------------------------------------------------------------
ganymede69's Profile: www.excelforum.com/member.php...oamp;userid=32067
View this thread: www.excelforum.com/showthread...hreadid=518170ganymede69, you could put in some code to run when the workbook opens, like
this
Private Sub Workbook_Open()
Sheets(quot;Sheet1quot;).Select
Range(quot;E9quot;).Select
End Sub
To put in this macro, from your workbook right-click the workbook's icon and
pick View Code. This icon is to the left of the quot;Filequot; menu this will open
the VBA editor, in Project Explorer double click on thisworkbook, under your
workbook name, if you don't see it press CTRL r to open the Project
Explorer, then, then paste the code in the window that opens on the right
hand side, press Alt and Q to close this window and go back to your
workbook, now this will run every time you open the workbook. If you are
using excel 2000 or newer you may have to change the macro security
settings to get the macro to run. To change the security settings go to
tools, macro, security, security level and set it to medium
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 amp; 2003
quot;ganymede69quot; gt; wrote
in message ...
gt;
gt; Hello all,
gt;
gt; I would like to have XL open at a particular cell every time it is run.
gt; Are there command-line parameters that can be passed?
gt;
gt; Cheers
gt;
gt; ganymede
gt;
gt;
gt; --
gt; ganymede69
gt; ------------------------------------------------------------------------
gt; ganymede69's Profile:
www.excelforum.com/member.php...oamp;userid=32067
gt; View this thread: www.excelforum.com/showthread...hreadid=518170
gt;
Thanks Paul B!--
ganymede69
------------------------------------------------------------------------
ganymede69's Profile: www.excelforum.com/member.php...oamp;userid=32067
View this thread: www.excelforum.com/showthread...hreadid=518170Your Welcome
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 amp; 2003
quot;ganymede69quot; gt; wrote
in message ...
gt;
gt; Thanks Paul B!
gt;
gt;
gt; --
gt; ganymede69
gt; ------------------------------------------------------------------------
gt; ganymede69's Profile:
www.excelforum.com/member.php...oamp;userid=32067
gt; View this thread: www.excelforum.com/showthread...hreadid=518170
gt;
- Oct 18 Sat 2008 20:46
Opening Excel at a particular cell
close
全站熱搜
留言列表
發表留言
留言列表

