ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Help with code please !!! (https://www.excelbanter.com/excel-programming/407364-help-code-please.html)

Ayo

Help with code please !!!
 
How do I write a code to make a specific cell the top left cell in the
worksheet?

joel

Help with code please !!!
 

Sub myscroll()
ActiveWindow.ScrollRow = 10
ActiveWindow.ScrollColumn = 22


End Sub

"Ayo" wrote:

How do I write a code to make a specific cell the top left cell in the
worksheet?


joel

Help with code please !!!
 
Here is a small modification to my last posting

Sub myscroll()
ActiveWindow.ScrollRow = Range("D5").row
ActiveWindow.ScrollColumn = Range("D5").column


End Sub


"Ayo" wrote:

How do I write a code to make a specific cell the top left cell in the
worksheet?


Ayo

Help with code please !!!
 
Thanks a lot Joel. I really appreciate it.

"Joel" wrote:

Here is a small modification to my last posting

Sub myscroll()
ActiveWindow.ScrollRow = Range("D5").row
ActiveWindow.ScrollColumn = Range("D5").column


End Sub


"Ayo" wrote:

How do I write a code to make a specific cell the top left cell in the
worksheet?


Gary Keramidas

Help with code please !!!
 
try this

Application.Goto Range("G35"), scroll:=True

--


Gary


"Ayo" wrote in message
...
How do I write a code to make a specific cell the top left cell in the
worksheet?





All times are GMT +1. The time now is 02:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com