Hello
I want to write a code where I start in cell A1 and when I press enter, I will go to cell C7.
Can anyone help me to write this code?
Greetings
Hello
I want to write a code where I start in cell A1 and when I press enter, I will go to cell C7.
Can anyone help me to write this code?
Greetings
Last edited by Wedstrijd; 12-30-2013 at 08:50 AM.
Hi, Wedstrijd,
Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.
Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.
Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!
Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
http://www.mrexcel.com/forum/excel-q...ess-enter.html
Ciao,
Holger
Use Code-Tags for showing your code: [code] Your Code here [/code]
Please mark your question Solved if there has been offered a solution that works fine for you
HaHoBe, thank you for picking up the cross-post.
Wedstrijd, welcome to the Forum. Please take the time to review our rules. There aren't many, and they are all important.
Are you pressing Enter after you update the content of the cell? Or just changing your selection?
The Worksheet_Change event will detect if you change the content of A1 when you hit enter, and that event can move the selection to C7.
There is also a SelectionChange event, but it only tells you where the new selection is, not where you came from. So if the user selects A1 then immediately hits Enter, there is no way to tell that he has done so (that I know of).Please Login or Register to view this content.
I suppose another more complicated alternative might be to trap the ENTER keyup event but I do not have experience with keyboard events.
@HaHoBe
I didn't know that crosspost wasn't allowed.
I excuse me for this.
In the future this will not happen again.
I will also read the rules very carefully.
@6StringJazzer
Thanks for your reaction
I will implement this in Excel
@6StringJazzer
It works
Thank you
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks