Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Auto Populate multi cells

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



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 367
Default Auto Populate multi cells

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 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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Auto Populate multi cells

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
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
can I auto-populate cells on another sheet? [email protected] Setting up and Configuration of Excel 1 March 5th 07 07:41 PM
can I auto-populate cells on another sheet? Echo Excel Discussion (Misc queries) 2 March 5th 07 06:27 PM
Auto Populate Cells John Setting up and Configuration of Excel 3 January 7th 07 09:22 AM
Auto populate cells Laus Excel Discussion (Misc queries) 5 December 3rd 06 04:39 PM
Auto populate cells based on 2 cells division. Chance224 Excel Discussion (Misc queries) 0 April 4th 05 09:35 PM


All times are GMT +1. The time now is 03:37 AM.

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"