NEED HELP PLEASE

manilla_r22

New Member
Joined
Oct 13, 2022
Messages
12
Office Version
  1. 2019
Platform
  1. Windows
1665685941524.png

HOW DO I GET THE * TO CHANGE TO (a) in superscript.
Need the parentheses as well.

I tried the replace button, it replaces the whole word as well.

I have multiple large files and trying to find the most efficient method

For example, i want it to look like this

1665686338202.png
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
VBA Code:
Sub find_and_replace()

Dim find_value, replace_value As String

find_value = InputBox("Which Product You Want to Replace?")
replace_value = InputBox("Please Enter the New Value")

    Columns("C").replace What:=find_value, _
                            Replacement:=replace_value, _
                            LookAt:=xlPart, _
                            SearchOrder:=xlByRows, _
                            MatchCase:=False, _
                            SearchFormat:=False, _
                            ReplaceFormat:=False

MsgBox "Done With Replacement!"

End Sub

Try this code.
 
Upvote 0
Nothing happens,
press alt+f8
press run
pop up message of * then a pop up message of a
then it says complete, but no changes
 
Upvote 0
Are you sure the words are in column C?
If not, replace ("C") with column you want to make replacement.
VBA Code:
 Columns("C").replace What:=find_value, _
 
Upvote 0

Forum statistics

Threads
1,215,884
Messages
6,127,559
Members
449,385
Latest member
KMGLarson

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