Jump to next FALSE value button.

jrawlin7

New Member
Joined
Feb 28, 2021
Messages
15
Office Version
  1. 2013
Platform
  1. Windows
Hi all,

I am looking to create a button that will take you one by one to each false value displayed. So on the sheet below the button (yellow) clicked once would take you to Cell D8, then click again and it takes you to Cell D12 an so on until you have seen all the MISMATCH values in Column D.

Thanks,
J

1614538672295.png
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Thanks for your reply @mikerickson I am having a hard time assigning this VBA to the button itself? Would you be able to help?
 
Upvote 0
VBA Code:
Sub test()
    Range("D:D").Find("Mismatch", After:=ActiveCell).Activate
End Sub

Getting an error when I try to assign to the button, it brings this up.

Please could you offer any more help?

Thanks!!

1614546726420.png
 
Upvote 0
So I have managed to get it semi-working with this:

Sub test()
Range("A:X").Find("Mismatch", After:=ActiveCell).Activate

End Sub

But because the formula for that column features the word Mismatch, it searches them all.....I could do with it being cell colour specific I.e. only look at red cells).

1614554669561.png
 
Upvote 0
Use the LookIn:=xlValues argument of .Find.
VBA Code:
Range("A:X").Find("Mismatch", After:=ActiveCell, LookIn:=xlValues).Activate
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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