UserFrom: Search/Display/Edit

rookie2excel

New Member
Joined
Feb 7, 2011
Messages
7
I have been trying to add a feature that will allow me to search, display and edit data i have already input.

Is there a way to do this, or a different way to do it?

Can anyone help??? :confused:
 

Some videos you may like

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
Welcome to the Board!

Have you tried CTRL+F (Find) or CTRL+H (Find & Replace)?
 

rookie2excel

New Member
Joined
Feb 7, 2011
Messages
7
Smitty-that works good, but i need to create a command.

This data entry form will be for multiple users that are not really tech savy.

Alphafrog- I have tried that but i can't find a way to add a checkbox that will make some tasks easier for end users.
 

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
You can record a macro doing a Find & Replace. Then you can replace the search/replace strings with Input Boxes for your users. Here's an example:

<font face=Calibri><SPAN style="color:#00007F">Sub</SPAN> FindandReplace()<br>    <SPAN style="color:#007F00">'   Find a string in every sheet and replace it with something else</SPAN><br>    <SPAN style="color:#00007F">Dim</SPAN> x <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">String</SPAN>, y <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">String</SPAN><br>        <br>        x = InputBox("Replace What?", "Replace What")<br>        y = InputBox("Replace With?", "Replace With")<br>        <br>        <SPAN style="color:#00007F">For</SPAN> <SPAN style="color:#00007F">Each</SPAN> ws <SPAN style="color:#00007F">In</SPAN> ActiveWorkbook.Worksheets<br>            <SPAN style="color:#00007F">On</SPAN> <SPAN style="color:#00007F">Error</SPAN> <SPAN style="color:#00007F">Resume</SPAN> <SPAN style="color:#00007F">Next</SPAN><br>            ws.Cells.Replace what:=x, replacement:=y<br>        <SPAN style="color:#00007F">Next</SPAN> ws<br>            <br>        <br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN></FONT>
 

Watch MrExcel Video

Forum statistics

Threads
1,127,659
Messages
5,626,145
Members
416,165
Latest member
hamburger138

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
Top