LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 309
Default Problem with "Application.Goto Reference" code line

In my Workbook_Open() subroutine, I run the following line of code:

Application.Goto Reference:=Sheets("Sheet1").Range("A1"), scroll:=True

This code works okay, but whenever I mark my "Sheet1" as hidden, the
code no longer works. The error message that I get is Run-Time
Error 1004 - Method 'Goto' of Object '_Application' Failed.

Is there any way to use that line of code on a hidden sheet??

thanx


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allow "Goto box" resized in Excel since long tab name problem All the Best Excel Programming 1 November 10th 09 12:51 AM
Goto Reference:="abc" where abc is formula result ORLANDO VAZQUEZ[_2_] Excel Programming 5 April 1st 09 09:50 PM
Application.Goto Reference:="ActiveCell.Value"??? Whats wrong?? [email protected] Excel Programming 13 July 12th 06 11:47 AM
"On Error GoTo" syntax problem jonrayworth Excel Programming 1 July 1st 06 01:16 AM
Application.Goto reference:="MyCell" akyhne[_2_] Excel Programming 1 August 16th 05 12:30 PM


All times are GMT +1. The time now is 06:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"