+ Reply to Thread
Results 1 to 12 of 12

move cursor from to cell B after click on cell A

  1. #1
    Forum Contributor
    Join Date
    12-18-2008
    Location
    Slovakia
    MS-Off Ver
    Office 2016
    Posts
    162

    move cursor from to cell B after click on cell A

    Hi,
    please exist any function that do following?

    I am on the row 100 in column G. I had a freeze the first row where i have hypertext and other function. I want add here (in the 1. row) something like hypertext, but i want to stay in the row where i was.

    When i am on row 100 in column G and i want to create function which move my cursor to column W but in the same row (row 100 in this case).

    Next time i will be in row 154 and i will want to move my cursor again in column W and use this same hypertext/function or what.

    Is it possible?
    thx

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481
    Unlock the cells in the two columns by highlighting them and going to format,cells,protection,uncheck locked.
    Protect the sheet ensuring you have checked off "select unlocked cells" in the protection categories.

  3. #3
    Forum Contributor
    Join Date
    12-18-2008
    Location
    Slovakia
    MS-Off Ver
    Office 2016
    Posts
    162
    Quote Originally Posted by davesexcel View Post
    Unlock the cells in the two columns by highlighting them and going to format,cells,protection,uncheck locked.
    Protect the sheet ensuring you have checked off "select unlocked cells" in the protection categories.
    thx,
    but i neet to work with whole sheet, whith each cell (edit, paste, write...)
    this solution disable this or?

    i need something like in VBA is ActiveCell.Offset(0, 5).Select. And i run this by clicking on concrete cell where will be my function (in first row)
    Last edited by danusko; 12-30-2008 at 09:56 AM.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481
    This Code placed in the worksheet module will work when you make a change in column G, it takes you to column W
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    12-18-2008
    Location
    Slovakia
    MS-Off Ver
    Office 2016
    Posts
    162
    i try it, but it seems, thats doesnt works. I gived it to my VBAProject-Modules-Module1.
    Then i try something to write to column G, but nothings happend. Do i something wrong?


    ....ahh...sorry
    i try it add in other place in moduls and it works.. great...and is it possible with clicking with mouse...something like hypertext ?

    and...this works for change in whole column..but i want to have only one concrete cell (in first freeze row) to move to other column in last need active cursor
    Last edited by danusko; 12-30-2008 at 11:23 AM.

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481
    Quote Originally Posted by danusko View Post
    i try it, but it seems, thats doesnt works. I gived it to my VBAProject-Modules-Module1.
    Then i try something to write to column G, but nothings happend. Do i something wrong?


    ....ahh...sorry
    i try it add in other place in moduls and it works.. great...and is it possible with clicking with mouse...something like hypertext ?

    and...this works for change in whole column..but i want to have only one concrete cell (in first freeze row) to move to other column in last need active cursor
    Pardon....

  7. #7
    Forum Contributor
    Join Date
    12-18-2008
    Location
    Slovakia
    MS-Off Ver
    Office 2016
    Posts
    162
    so, this is not possible in excel or?
    i think this part (clicking with mouse...something like hypertext )

  8. #8
    Forum Contributor
    Join Date
    12-18-2008
    Location
    Slovakia
    MS-Off Ver
    Office 2016
    Posts
    162
    so, this is not possible in excel or?
    i think this part (clicking with mouse...something like hypertext )

    i ask..if it possible to make something like command or something, thats make this
    cursor is on cell A3
    i click on cell a1 and the cursor moves in line 3 to column C. So after click, it will be on cell C3
    and if will cursor on cell A6, again after the same cell with commnad or what it moves to the same column, but in other line (line 6).

    So this command will always move cursor in concrete columnt, but in the same line. But a need posibility to write to all cell. So i can use lock and proteckt sheet..
    do you know what i mean?...
    is this possible?
    thankeyou

  9. #9
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Why not just put a command button somewhere in row 1, then use that code posted by Dave above? That will give you something to click.

    Jason

  10. #10
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481
    Quote Originally Posted by danusko View Post
    so, this is not possible in excel or?
    i think this part (clicking with mouse...something like hypertext )

    i ask..if it possible to make something like command or something, thats make this
    cursor is on cell A3
    i click on cell a1 and the cursor moves in line 3 to column C. So after click, it will be on cell C3
    and if will cursor on cell A6, again after the same cell with commnad or what it moves to the same column, but in other line (line 6).

    So this command will always move cursor in concrete columnt, but in the same line. But a need posibility to write to all cell. So i can use lock and proteckt sheet..
    do you know what i mean?...
    is this possible?
    thankeyou
    Maybe supply a sample workbook with the directions you want to go to, this may help understand better.....

  11. #11
    Forum Contributor
    Join Date
    12-18-2008
    Location
    Slovakia
    MS-Off Ver
    Office 2016
    Posts
    162
    Quote Originally Posted by jasoncw View Post
    Why not just put a command button somewhere in row 1, then use that code posted by Dave above? That will give you something to click.

    Jason
    because this code make "moving" always when i will write something to column G. But i need moving only after clicking on button (or command).

  12. #12
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481
    Quote Originally Posted by danusko View Post
    because this code make "moving" always when i will write something to column G. But i need moving only after clicking on button (or command).
    Where's the sample workbook?
    Did you consider Worksheet_SelectionChange

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1