Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Automatically Change Text in Cell

Hi,

I am not sure but there maybe a really easy way to do this. If a user
enters "B" in cell A1 how could I automatically change the "B" to
"Brazil" for example?

I am looking to create a calendar so when the users enters "B" for a
given date "Brazil" will appear instead of "L".

Thanks,

Brett

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Automatically Change Text in Cell

Maybe try playing with Tools AutoCorrect Options?
Replace: B
With: Brazil
Click Add OK
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
" wrote:
Hi,

I am not sure but there maybe a really easy way to do this. If a user
enters "B" in cell A1 how could I automatically change the "B" to
"Brazil" for example?

I am looking to create a calendar so when the users enters "B" for a
given date "Brazil" will appear instead of "L".

Thanks,

Brett


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Automatically Change Text in Cell

Right click sheet tabview codeinsert this to do what you said.
However, I suspect you want a bit more to involve a larger target range and
more choices. You would want a select case statement.

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("a1")) Is Nothing Then
If UCase(Target) = "B" Then Target = "Brazil"
End If
End Sub


--
Don Guillett
SalesAid Software

wrote in message
oups.com...
Hi,

I am not sure but there maybe a really easy way to do this. If a user
enters "B" in cell A1 how could I automatically change the "B" to
"Brazil" for example?

I am looking to create a calendar so when the users enters "B" for a
given date "Brazil" will appear instead of "L".

Thanks,

Brett



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
Stumped: If a cell contains a formula, can you make text color automatically change? qwopzxnm Excel Worksheet Functions 7 April 5th 06 04:07 AM
Change text color in a cell automatically Dajana Excel Discussion (Misc queries) 0 November 8th 05 12:31 AM
automatically change text case on entry John Davies Excel Discussion (Misc queries) 2 July 15th 05 08:42 AM
How do I automatically change text Monty Excel Discussion (Misc queries) 3 March 17th 05 09:48 PM
Automatically change text to uppercase Santie Excel Worksheet Functions 1 February 22nd 05 05:20 PM


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

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

About Us

"It's about Microsoft Excel"