03-22-2005, 12:30 AM
I am trying to get from one tab to another in Excel. How do I do that?
TIA.
Carl
TIA.
Carl
Excel Sheet Tabs
|
03-22-2005, 12:30 AM
I am trying to get from one tab to another in Excel. How do I do that?
TIA. Carl
03-22-2005, 07:42 AM
03-22-2005, 07:13 PM
Thanks!! That works great.
04-04-2005, 04:25 PM
This worked on Friday and now does not. I copied the code again from your previous post and it still does not work.
What happened? Deb act "Microsoft Excel" typelib Excel {00020813-0000-0000-C000-000000000046} 1.2 Excel.Application a._getactive Excel.Worksheet ws=a.Worksheets.Item("Sheet2") ws.Select
04-04-2005, 04:38 PM
What error is displayed, and in which line?
MS Office apps have this strange behavior: when application is just launched, _getactive does not work, because it does not register its objects at startup (to minimize overhead, I think). _getactive begins to work only when you first time deactivate the app (that is, make active some other window).
04-04-2005, 04:41 PM
The exact error is :
Error (RT) in Macro3: 0x800A03EC, It is happening on line : Excel.Worksheet ws1=a.Worksheets.Item("Sheet2") Thanks again.
04-04-2005, 04:50 PM
This error is shown when I closed the document. Maybe at that time Excel is just started and there is no document open. Try to insert a delay before.
04-04-2005, 05:29 PM
Did you maybe change the name of the 2nd sheet to something other than "Sheet2"? The macro code assumes it is "Sheet2"
11-10-2008, 12:24 AM
11-13-2008, 09:21 AM
11-13-2008, 10:56 AM
Yes.
Thank you. Now, it works. |
« Next Oldest | Next Newest »
|