Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Microsoft Excel utilities, can produce a small working program?

views
     
TSparanoid
post Feb 14 2006, 12:14 PM, updated 20y ago

I can go from 0 to bitch in 0.6seconds
******
Senior Member
1,235 posts

Joined: Nov 2004


does microsoft excel offer enough functions to generate desired output based on what is typed?

for eg.
column A, i type "123ABC"
then i would expect column B to output maybe somthing like "one A two Bs and three Cs"

something like column A to capture specific character in that string and give output on column B. and the output is preset? like A will give this output and B will give another output?
sheeeng
post Feb 14 2006, 12:35 PM

ソフト エンジニア
****
Senior Member
688 posts

Joined: Feb 2005
From: クアラルンプール
QUOTE(paranoid @ Feb 14 2006, 12:14 PM)
does microsoft excel offer enough functions to generate desired output based on what is typed?

for eg.
column A, i type "123ABC"
then i would expect column B to output maybe somthing like "one A two Bs and three Cs"

something like column A to capture specific character in that string and give output on column B. and the output is preset? like A will give this output and B will give another output?
*
I think can. VBA can be used for it. A bit of programming involved. smile.gif
SincerePrayer
post Feb 14 2006, 02:11 PM

love to pray
Group Icon
Elite
1,120 posts

Joined: Jun 2005
paranoid,


Yes, the Excel able to do that via the coding. Other than that, you can use the formula (can be very complicated) to generate the desire output, this is only applicable for a fixed lenght and pattern of the data.

For your case, I would encourage you use code the login in VBA to generate the output.


Happy Coding & Valentine's Day smile.gif
TSparanoid
post Feb 14 2006, 02:18 PM

I can go from 0 to bitch in 0.6seconds
******
Senior Member
1,235 posts

Joined: Nov 2004


thanks.. it would be easier to do everything on VB then??

can VB output be exported into excel format?
SincerePrayer
post Feb 14 2006, 02:23 PM

love to pray
Group Icon
Elite
1,120 posts

Joined: Jun 2005
paranoid,


Yes. VB able output the format to Excel format. The simpliest way is to generate the output to CSV.

You can find the sample code at FreeVB Code.


Happy Coding smile.gif

 

Change to:
| Lo-Fi Version
0.0143sec    0.54    5 queries    GZIP Disabled
Time is now: 23rd December 2025 - 09:11 AM