LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default application.goto

hi.

i have a macro that inserts a line for the user. then the user has to go to
column AC to enter a number.

so i'd like the insert macro to end with logic that puts the cursor where it
needs to be.

i tried

Application.Goto Reference:=Worksheets("Assortment").Cells(lr, "ac")

(lr is defined as the row my cursor was on when i started the macro which
lets assume the value is 46)



it works great in that my "cursor" is on cell AC46 but its not in my view.
i can see its "selected" and sitting on AC46 in the upper left corner but
again the screen didn't move me there so the user can do what they need to do.



i tried scroll=left at the end of the sentence but it moved ac46 to the
upper left corner of my screen which is a little confusing. Its as if i
just want to scroll left or right to get the cell into view.



thanks in advance for any and all help

Tami

 
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
? IF & GOTO ? Karen D Excel Worksheet Functions 17 September 2nd 09 10:58 PM
? IF and GOTO ? Karen D Excel Worksheet Functions 2 September 1st 09 07:57 PM
Application.Goto Reference gets error 1004 cellist Excel Discussion (Misc queries) 4 December 25th 08 09:32 PM
Goto Tab Ed Davis Excel Discussion (Misc queries) 3 September 4th 08 10:35 PM
If.....Then GoTo....... Alec H Excel Discussion (Misc queries) 4 February 22nd 06 02:42 PM


All times are GMT +1. The time now is 06:48 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"