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:
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
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.
 
Upvote 0
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>
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,672
Members
452,937
Latest member
Bhg1984

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