Wyszukiwanie w Excelu - jak na stałe ustawić wyszukiwanie w wartościach?
AutorDexter
5 odpowiedziarchiwum
Software
Wątek archiwalny, dyskusja jest zamknięta.
Dexter
Standardowo jeśli czegoś się szuka w Excelu to przeszukiwanie ma ustawioną opcję "Szukaj w..." na Formuły. W ten sposób nie znajdzie tego czego szukam, jeśli jest to wynikiem formuły w komórce.
Np. w komórce A1 jest formuła =A2*A3 i w tych komórkach wpisuję 2.
Wynikiem w komórce A1 jest 4. I teraz jak daję "szukaj" i wpiszę 4 to nie znajdze nic. Dopiero przestawienie na "Szukaj w wynikach" pozwala znaleźć tę czwórkę.
Ale te przestawianie trzeba zmieniać za każdym uruchomieniem Excela.
Help i gugel nie pomagają.
Komisarz, Blimek, Bart - nie odpowiadajcie w wątkach, które zakładam.
Odpowiedzi oleję.
THX!
How to make Find default to Values instead of Formulas:
Step 1
Close any open workbooks.
Step 2
Create a new workbook.
Step 3
Go to the VBE, and in the Project Explorer, click on VBAProject(Personal.xls).
Notes (in case anyone reading this does not know):
To get to the VBE, click on Tools > Macro > Visual Basic Editor, or press Alt+F11.
If the Project Explorer is not visible, while in the VBE click View > Project Explorer, or press Ctrl+R.
If you do not already have a Personal.xls project created, then create one, and return to Step 1. See Excel’s on line help for creating a Personal workbook.
Step 4
While in VBE with the Personal.xls project selected, click Insert > Module, and paste this in:
Sub FindValues()
Application.Dialogs(xlDialogFormulaFind).Show , 2
End Sub
Step 5
Click View > Microsoft Excel, or press Alt+F11.
Step 6
Click on Tools > Customize > Commands tab.
Step 7
With the Customize dialog box open, click on Edit from the worksheet menu bar. This will pull down the Edit menu options, and at the same time, it will enable the "Modify Selection" button on the Commands tab of the Customize dialog box.
Step 8
Click "Find" on the File menu, then click the "Modify Selection" button on the Customize dialog box. In the Name field, you should see something like "&Find…". So far so good.
Step 9
Click "Assign Macro…", then click "PERSONAL.XLS!FindValues", and click OK, then click Close.
Step 10
Assuming you have the Standard toolbar visible on the sheet, click on the Find icon (it is a pair of binoculars), and repeat Step 8 and Step 9. One note, at this point, the Name field might say "Find" without the ampersand. That is normal.
Step 11
Click the "Close" button on the Customize dialog box.
Step 12
From the File menu, click Exit. If you are prompted to save changes to Personal.xls, choose Yes. If you are prompted to save changes for any other workbook (Book1.xls or whatever), choose No.