VBA [Excel] - Enable / Disable Movement After Enter Button Pressed - excel

I'm trying to alter the behaviour of Excel when you press the enter button using VBA as most of the time I require it to jump to the next cell after you have entered information.
However, when I reach the bottom of my spreadsheet I want to prevent it jumping back to the top and remain in the current cell. I then want to turn back on the ability for it to jump down when you move back up the document or go to a new tab.
I believe I can manage the on/off element by using the ON SELECTION and ON CHANGE functions within VBA, but I'm struggling to source the right code to change the after ENTER behaviour.
TIA

Related

Excel: Cannot edit text just deletes the whole thing

I am new to excel and every time I try to edit text in excel by double clicking the cell or press the back space button when I make an error it just deletes the whole thing and I need to retype everything.
I was wondering if there was any way to turn this off.
Thanks in advance!
To the best of my knowledge, there no way to turn this off. When you want to edit text in a cell, you need to first select the cell by single clicking on it. Any contents in the cell will display in the formula bar located above the spreadsheet. Click anywhere you need to in the formula bar to edit text. If you delete or backspace on the cell accidentally, you can CTRL+z to undo.
If you do not see the formula bar, click on View tab in the menu ribbon and make sure the Formula Bar option is checked.

How to disable mouseover for a note in Excel?

I have a spreadsheet in excel with some vba code that makes a note show up when I navigate the cursor to the cell and turn off when I navigate the cursor away.
However, the note still shows up when the mouse is hovering over the cell, which I want to prevent.
Is there a way to disable this mouseover functionality without disabling the note feature entirely?

keyboard shortcut to formula editing field (literally) in Excel? (Not F2)

I am looking for the keyboard shortcut to edit a formula in the formula edit field. I am not looking for similar functionality such as F2, which allows you to edit the formula, but only with the cursor in the cell you are working on.
Put another way, I am looking to move my cursor to the field to the right of the "fx" (function sign + "x") field that is just below the ribbon so I can edit a formula in Excel and have it behave the way I want.
I know many will ask why. The main reason I want to do this is when formulas get long they wrap (which is difficult to follow) and/or cover up adjacent cells (which makes modeling more difficult). I don't want to change the wrapping behavior etc. because I actually use it (it is helpful) in some cases.
I do not want a solution that involves a macro because I want this to work on any computer I am working on.
Been Excel'ing for a long time and this is one of the few things I have to go to the mouse for and it slows me down.
EDIT: also can't lose the reference color coded highlighting. F2 then Ctrl + A gets the cursor up there in the formula bar, but the wrapping in the cell stays (bad) and the color coded reference highlighting goes away (bad).
I found a way but you may or may not like it.
In Excel older than 2007 do the following and then use F2:
From the Tools menu, choose Options.
Click the Edit tab.
Uncheck the Edit Directly In Cell option in the Settings area.
Click OK
In Excel 2007 and newer do the following and then use F2:
Click the Office button and then click Excel Options (at the bottom
right).
Select Advanced in the left pane.
Uncheck the Allow Editing Directly In Cell option.
Click OK.
Giving credit where credit is due I found this on the below site by simply googling "excel keyboard shortcuts formula bar"
http://www.techrepublic.com/blog/microsoft-office/quick-access-to-excel-formula-bar-via-keyboard/

How to delete a large number of command buttons in excel

I have a macro that I have designed to retrieve information from the internet and then to process that information into formats I want. My first worksheet in the workbook functions as my command page and all of the subsequent worksheets are populated based on what I tell the command page I want.
I have assigned control buttons on the command page to all of the various functions I want the macro to execute on the data retrieved from the web so I can select which functions I want applied. However, I believe that somewhere along the way I told my code to make copies of 1 certain command button.
There are now over 7000 command buttons for one function. Thank fully they are all stacked on one another so it isn't obvious, however it is starting to slow my excel down.
Is there any way to manage all of you buttons and then to select the ones you wish to delete?
Maybe a macro that deletes all duplicate command button names would do the trick? Before I tried this method, I wanted to see if there was an easier fix to my problem.
This should work for you:
Shift+Ctrl+Click on the button to select it
Press Ctrl+a to have it select all of them
Then Ctrl+Click the button to de-select the top-most button
Press the Del key to delete all selected objects.

VBA checkbox (2 times to check)

I'm working with VBA in Excel 2007.
When I click on my checkbox, I have to do it 2 times before the check mark appears. I have no idea what can cause that. Can somebody help me?
This behaviour is normal when the Excel application is not the active one on your screen (= doesn't have the focus)
the first click is to activate the Excel application window
the second click is to work inside the application.
This applies to Form or ActiveX checkboxes embedded a sheet, it even happens when you want to select a certain cell (say C2) ... when Excel was inactive, the first click (into C3) activates the application and shows the cursor at its previous location (say B3), second click will move cursor to C3.
User forms behave a bit different. Even when they have no focus at first, once you click into a checkbox inside the user form, it activates AND processes the checkbox - except if you trick it out by an event trigger (there are a few that could come in here)

Resources