PC Review


Reply
Thread Tools Rate Thread

Auto Populate multi cells

 
 
kmdmcr
Guest
Posts: n/a
 
      28th Dec 2007
I would like to type a word into cell a1 and based off that word I want cells
b1 and c1 to fill in with specific text.

How do I program this?

Thank you



 
Reply With Quote
 
 
 
 
carlo
Guest
Posts: n/a
 
      28th Dec 2007
What exactly should appear in B1 and C1?
Do you want to do a Lookup of some matrix?

give some more information.

cheers

Carlo

On Dec 28, 10:30*am, kmdmcr <kmd...@discussions.microsoft.com> wrote:
> I would like to type a word into cell a1 and based off that word I want cells
> b1 and c1 to fill in with specific text. *
>
> How do I program this?
>
> Thank you


 
Reply With Quote
 
sebastienm
Guest
Posts: n/a
 
      28th Dec 2007
hi,
You could create 2 UDF Worksheet functions in the book.

eg for the first one

Public Function FirstFunction(Param1 as Variant) as Variant
Dim strWord as string
strWord=Param1

''' do whatever with that string, eg: concetenate first and last letter
FirstFunction=Strings.Left(strWord,1) & Strings.Right(strWord,1)

End Function

Now, in B1, you can write : =FirstFunction(A1)

--
Regards,
Sébastien
<http://www.ondemandanalysis.com>
<http://www.ready-reports.com>


"kmdmcr" wrote:

> I would like to type a word into cell a1 and based off that word I want cells
> b1 and c1 to fill in with specific text.
>
> How do I program this?
>
> Thank you
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto populate selected cells robert morris Microsoft Excel Misc 6 18th Feb 2008 11:17 PM
can I auto-populate cells on another sheet? Echo Microsoft Excel Misc 2 5th Mar 2007 06:27 PM
RE: Auto Populate Cells =?Utf-8?B?R2F0c2J5?= Microsoft Excel Setup 0 7th Jan 2007 09:22 AM
Auto populate cells =?Utf-8?B?TGF1cw==?= Microsoft Excel Misc 5 3rd Dec 2006 04:39 PM
Auto populate cells based on 2 cells division. =?Utf-8?B?Q2hhbmNlMjI0?= Microsoft Excel Misc 0 4th Apr 2005 09:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:59 PM.