![]() |
Workbooks("Mappe1").Activate trouble
When i run this code i got a error...
Run-time error 9 Subscript out of range. Why ? Sub Focus() Workbooks("Mappe1").Activate End Sub Im trying to activate book "Mappe1" from book "Mappe3" - both are open! Using Windows Vista Excel 2003 |
Workbooks("Mappe1").Activate trouble
Include the extension:
workbooks("mappe1.xls").activate excelent wrote: When i run this code i got a error... Run-time error 9 Subscript out of range. Why ? Sub Focus() Workbooks("Mappe1").Activate End Sub Im trying to activate book "Mappe1" from book "Mappe3" - both are open! Using Windows Vista Excel 2003 -- Dave Peterson |
Workbooks("Mappe1").Activate trouble
gee. didnt think bout that, but that did it fine
thanks Dave "Dave Peterson" skrev: Include the extension: workbooks("mappe1.xls").activate excelent wrote: When i run this code i got a error... Run-time error 9 Subscript out of range. Why ? Sub Focus() Workbooks("Mappe1").Activate End Sub Im trying to activate book "Mappe1" from book "Mappe3" - both are open! Using Windows Vista Excel 2003 -- Dave Peterson |
All times are GMT +1. The time now is 03:43 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com