A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Now, what is the Visual Basic equivalent of hitting the Escape key? My code copies info from one cell to another. After the code runs, I note that the copied cell still has the blinking border. I need to hit the escape key to stop the blinking.
Also, what causes the first solution you suggested to be error prone?
Thanks again . . . you're very kind to help.
Sid
Hi,
VBA equivalent is
Application.cutcopymode=false
Selecting things in VBA is generally considered to be a bad idea and is almost never necessary because whatever you want to do in ActiveCell.Offset(Range("A1")).Select can almost certainly be done without selection. Why is it error prone? Well the activecell can be any cell and possibly not the one you expect it to be when you run the code so when you offset from it there will be a day; one day, when you end up in a cell you didn't expect to be in.