Excel 2010 popup find box

w0ls0n

New Member
Joined
Dec 1, 2013
Messages
1
We use Excel 2010 in our workplace and some of our vendors send us excel sheets that have up to 30 or more worksheets within Excel. When I first started with the company a few years ago there was a very helpful excel macro we used that has a very useful feature. When you open any excel sheet it would "popup" a find box and change the function to search the entire workbook by default. This is the same find box when you hit CTRL-F. This has been working great up until Windows 8.1. Since having installed Windows 8.1 on several workstations it has an unusual feature. When any excel sheet is opened the NUM LOCK and and SCROLL LOCK functions turn off. It only does this on Windows 8.1 (I confirmed the same behavior on two different workstations). Here is the macro:


Option Explicit
Sub Workbook_Open()
Application.CommandBars.ExecuteMso "FindDialogExcel"
SendKeys "%t" 'Opens Options section
SendKeys "%hW{Enter}" 'Selects Workbook option
SendKeys "{TAB 11}" 'Moves to Find What box
End Sub


Any ideas?
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
This will do the same thing. The search within Workbook option is not visible on this dialog, but it is set.

Code:
[color=darkblue]Option[/color] [color=darkblue]Explicit[/color]
[color=darkblue]Sub[/color] Workbook_Open()
Application.Dialogs(xlDialogFormulaFind).Show "", xlWorkbook
[color=darkblue]End[/color] [color=darkblue]Sub[/color]
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top