+ Reply to Thread
Results 1 to 2 of 2

Spell Checker

  1. #1
    Gordon
    Guest

    Spell Checker

    Hi...

    I want spell checker to run on 2 protected sheets from either to either. The
    user has no access to menus or toolbars but presses a macro button to
    commence the spell checker...Is there any simple code out there that does
    this?

    Thanks in advance.

    Gordon

  2. #2
    Registered User
    Join Date
    02-11-2005
    Posts
    85
    Here's about as easy a code as I could come up with. It will check both pages but will only show the page that is active when it is run.

    Sub spell_check()

    Worksheets("Sheet1").Cells.CheckSpelling SpellLang:=1033
    Worksheets("Sheet2").Cells.CheckSpelling SpellLang:=1033

    End Sub

    ' This second example switches to the page the spell check is being run on.

    Sub spell_check2()

    Worksheets("Sheet1").Select
    Cells.CheckSpelling SpellLang:=1033
    Worksheets("Sheet2").Select
    Cells.CheckSpelling SpellLang:=1033

    End Sub

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1