#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default AUTO CORRECT PROBLEM

I am working in Excel 03. I am constructing a large database whereby in
certain cells when an individual enters A, E or P it is auto corrected to a
numeric value. To my horror these auto corrections have carried on in Word,
Outlook and PowerPoint. How do I restrict these autocorrects to just the
spreadsheet I am working on?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default AUTO CORRECT PROBLEM

As you have observed the AutoCorrect is a Suite wide file. At the least
you would do a find and replace or use a macro to do this.

Chris wrote:

I am working in Excel 03. I am constructing a large database whereby in
certain cells when an individual enters A, E or P it is auto corrected to a
numeric value. To my horror these auto corrections have carried on in Word,
Outlook and PowerPoint. How do I restrict these autocorrects to just the
spreadsheet I am working on?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default AUTO CORRECT PROBLEM

Chris

You can use a helper cell to return a number based upon a lookup table with
letters and numbers.

Or you could use event code to change the letters to numbers as you enter them.

Private Sub Worksheet_Change(ByVal Target As Range)
Set r = Range("A1:A20") 'adjust range to suit
If Intersect(Target, r) Is Nothing Then
Exit Sub
End If
vals = Array("A", "E", "P") 'add more if needed
nums = Array(8, 9, 6) 'add more if needed
For Each rr In r
ivalue = 0
For i = LBound(vals) To UBound(vals)
If UCase(rr.Value) = vals(i) Then
ivalue = nums(i)
End If
Next
If ivalue 0 Then
rr.Value = ivalue
End If
Next
End Sub

This is sheet event code. Right-click on the sheet tab and "View Code".

Copy/paste the code into that module. Edit to suit then Alt + q to return to
the Excel window.


Gord Dibben MS Excel MVP

On Tue, 8 Jul 2008 03:23:01 -0700, Chris
wrote:

I am working in Excel 03. I am constructing a large database whereby in
certain cells when an individual enters A, E or P it is auto corrected to a
numeric value. To my horror these auto corrections have carried on in Word,
Outlook and PowerPoint. How do I restrict these autocorrects to just the
spreadsheet I am working on?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Correct jarr Excel Discussion (Misc queries) 3 November 21st 07 07:52 PM
Excel Auto correct dustin Excel Discussion (Misc queries) 4 October 29th 07 02:28 AM
auto correct in excel Angelique Excel Discussion (Misc queries) 1 October 12th 06 08:31 PM
Auto Correct ? marco Excel Discussion (Misc queries) 3 April 20th 05 08:01 PM
auto correct lety a Excel Discussion (Misc queries) 1 March 27th 05 10:34 AM


All times are GMT +1. The time now is 04:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"