Hi,
1) The list of names on the sheet2.
2) When enter first letters in Column A macro has to show autocomplete in cell on the sheet1.
You may find example as attachment.
Hi,
1) The list of names on the sheet2.
2) When enter first letters in Column A macro has to show autocomplete in cell on the sheet1.
You may find example as attachment.
Here is a link that describes what you want without using VBA. http://www.ozgrid.com/Excel/autocomplete-validation.htm
Now .... I have Excel 2007 .. so I can't help you find the setting in Excel 2016 but it must be there somewhere.
In 2007 it is located : Excel Options (Upper Left) / Advanced / Editing Options (select check box "Enable AutoComplete for cell values"
Thanks for asking this question, it is a 'tool' I wasn't aware of with the information included in the URL link above.
The procedure described by Logit is the same for Excel 2016
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Thanx for reply.
I don't have possibility to paste values above on the sheet1.
It should be some macro decision.
There's an add-in at https://app.box.com/shared/ono8ni9xvr that will do that, a ReadMe at https://app.box.com/shared/4qxybepxxr, and an example workbook at https://app.box.com/shared/e8dbbple34
Entia non sunt multiplicanda sine necessitate
Or you could make it change automatically to the full name when you enter the short codes by adding them to the auto correct dictionary when opening the file and removing them on closing the file
I think the below should do it, if you create a list of the things to auto correct in a sheet called autoC in column A an the things to correct to in column b. (starting from row 2 to allow for a header row)
![]()
Private Sub Workbook_Open() For i = 2 To 1000 If IsEmpty(Sheets("autoC").Cells(i, "A")) Then Exit Sub End If Application.AutoCorrect.AddReplacement What:=Sheets("autoC").Cells(i, "A"), Replacement:=Sheets("autoC").Cells(i, "B") Next End Sub Private Sub Workbook_BeforeClose(Cancel As Boolean) For i = 2 To 1000 On Error Resume Next If IsEmpty(Sheets("autoC").Cells(i, "A")) Then Exit Sub End If Application.AutoCorrect.DeleteReplacement Sheets("autoC").Cells(i, "A") Next End Sub
I tried to do this but no actions in file.
Would you please check the attachment?
https://app.box.com/s/ngmdwt6fqo9q7y44nv0mb2qh30v3ufl3
Something like this.
Keep in mind the limitations that it only corrects when you type the exact thing in the column A and while that sheet is open it will effect other sheets because we have changed the auto correct dictionary for excel.
Otherwise if you prefer shg's solution you could bring that code into your own workbook.
Last edited by scottiex; 12-02-2016 at 09:11 PM.
I had a little problem with workbook open not running it (maybe someone here can advise why). So here it is with some worksheet activate events and some buttons.
You should also give moving shg's code over to a xlsm file a go as well. it doesn't have to be an add-in as it looks like he hasn't locked it down.
Last edited by scottiex; 12-04-2016 at 03:57 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks