command button- spell check

%3CLINGO-SUB%20id%3D%22lingo-sub-3397115%22%20slang%3D%22en-US%22%3Ecommand%20button-%20spell%20check%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3397115%22%20slang%3D%22en-US%22%3E%3CP%3Ehow%20do%20you%20create%20a%20spell%20check%20command%20button%20in%20excel%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3397115%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3397786%22%20slang%3D%22en-US%22%3ERe%3A%20command%20button-%20spell%20check%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3397786%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1394155%22%20target%3D%22_blank%22%3E%40graceo%3C%2FA%3E%2C%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EWhat%20I%20feel%20you%20should%20add%20a%20spellcheck%20button%20to%20the%20quick%20access%20toolbar%20rather%20than%20creating%20a%20macro%20button%20as%20this%20will%20help%20you%20to%20access%20spellcheck%20on%20any%20of%20your%20workbooks%20open%20on%20your%20system.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22FarazShaikh_0-1652942032076.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F373084iAC47853A19B6CE12%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22FarazShaikh_0-1652942032076.png%22%20alt%3D%22FarazShaikh_0-1652942032076.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ERegards%2C%20Faraz%20Shaikh%20%7C%20Microsoft%26nbsp%3BMVP%2C%20MCT%2C%20MIE%2C%20MOS%20Master%2C%20Excel%20Expert%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CFONT%20color%3D%22%23808080%22%3EIf%20you%20find%20the%20above%20solution%20resolved%20your%20query%20don't%20forget%20to%20mark%20it%20as%20the%26nbsp%3B%3CSPAN%3EOfficial%2FBest%20Answer%20%26amp%3B%20like%20it%20to%20help%20the%20other%20members%20find%20it%20more.%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3400003%22%20slang%3D%22en-US%22%3ERe%3A%20command%20button-%20spell%20check%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3400003%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F156456%22%20target%3D%22_blank%22%3E%40Faraz%20Shaikh%3C%2FA%3E%26nbsp%3Bthanks%20for%20your%20response%2C%20this%20is%20a%20report%20for%20others%20that%20goes%20to%20owners%2C%20it%20would%20be%20easier%20for%20them%20if%20the%20button%20was%20on%20the%20form%20to%20help%20them%20not%20to%20forget%20to%20spell%20check%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3403910%22%20slang%3D%22en-US%22%3ERe%3A%20command%20button-%20spell%20check%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3403910%22%20slang%3D%22en-US%22%3E%3CP%3Ehi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1394155%22%20target%3D%22_blank%22%3E%40graceo%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20use%20the%20below%20code%20and%20paste%20it%20to%20the%20module%20and%20then%20assign%20it%20to%20button.%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-visual-basic%22%3E%3CCODE%3ESub%20SpellCheck()%0A%0A%20%20%20%20Cells.CheckSpelling%20IgnoreUppercase%3A%3DFalse%2C%20AlwaysSuggest%3A%3DTrue%0A%20%20%20%20%0AEnd%20Sub%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EI%20would%20suggest%20you%20also%20to%20paste%20this%20code%20before%20workbook%20is%20close%2C%20it%20would%20great%20incase%20if%20the%20users%20forget%20to%20do%20the%20spellcheck.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ERegards%2C%20Faraz%20Shaikh%20%7C%20Microsoft%26nbsp%3BMVP%2C%20MCT%2C%20MIE%2C%20MOS%20Master%2C%20Excel%20Expert%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CFONT%20color%3D%22%23808080%22%3EIf%20you%20find%20the%20above%20solution%20resolved%20your%20query%20don't%20forget%20to%20mark%20it%20as%20the%26nbsp%3B%3CSPAN%3EOfficial%2FBest%20Answer%20%26amp%3B%20like%20it%20to%20help%20the%20other%20members%20find%20it%20more.%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

how do you create a spell check command button in excel?

3 Replies

Hi @graceo,

What I feel you should add a spellcheck button to the quick access toolbar rather than creating a macro button as this will help you to access spellcheck on any of your workbooks open on your system.

 

FarazShaikh_0-1652942032076.png

 

Regards, Faraz Shaikh | Microsoft MVP, MCT, MIE, MOS Master, Excel Expert

If you find the above solution resolved your query don't forget to mark it as the Official/Best Answer & like it to help the other members find it more.

@Faraz Shaikh thanks for your response, this is a report for others that goes to owners, it would be easier for them if the button was on the form to help them not to forget to spell check  

hi @graceo 

You can use the below code and paste it to the module and then assign it to button.

Sub SpellCheck()

    Cells.CheckSpelling IgnoreUppercase:=False, AlwaysSuggest:=True
    
End Sub

I would suggest you also to paste this code before workbook is close, it would great incase if the users forget to do the spellcheck.

 

Regards, Faraz Shaikh | Microsoft MVP, MCT, MIE, MOS Master, Excel Expert

If you find the above solution resolved your query don't forget to mark it as the Official/Best Answer & like it to help the other members find it more.