|
|
|
Click here to copy the following block |
Function CheckSpelling(ByVal strString As String) As String Dim objWord As Word.Application Dim objDoc As Word.Document Dim oldMousePointer As Variant oldMousePointer = Screen.MousePointer Screen.MousePointer = vbHourglass
Set objWord = New Word.Application With objWord .Visible = False Set objDoc = .Documents.Add .Selection.Text = strString .Dialogs(wdDialogToolsSpellingAndGrammar).Show strString = .Selection.Text objDoc.Close wdDonotSaveChanges Set objDoc = Nothing .Quit wdDonotSaveChanges End With Set objWord = Nothing Screen.MousePointer = oldMousePointer CheckSpelling = strString End Function |
|
|
|
Submitted By :
Nayan Patel
(Member Since : 5/26/2004 12:23:06 PM)
|
|
|
Job Description :
He is the moderator of this site and currently working as an independent consultant. He works with VB.net/ASP.net, SQL Server and other MS technologies. He is MCSD.net, MCDBA and MCSE. In his free time he likes to watch funny movies and doing oil painting. |
View all (893) submissions by this author
(Birth Date : 7/14/1981 ) |
|
|