Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Johnny2X2X

(23,903 posts)
107. Agree
Wed Feb 11, 2026, 03:40 PM
Feb 11

From the totally simple like pseudo code- Wingmate, Can you tell me how to generate a VB script for Excel to append or prefix multiple cells at once?
Sub AddTextToCells()
Dim cell As Range
Dim textToAdd As String
Dim position As String

textToAdd = InputBo "Enter text to add:&quot
position = InputBo "Enter 'P' for Prefix or 'S' for Suffix:&quot

For Each cell In Selection
If cell.Value "" Then
If UCase(position) = "P" Then
cell.Value = textToAdd & cell.Value
ElseIf UCase(position) = "S" Then
cell.Value = cell.Value & textToAdd
End If
End If
Next cell
End Sub

This will allow you to append or prefix a selection of cells that are already populated in Excel.

To much more complicated things like entire applications for something mission critical written in ADA. It's pretty remarkable right now and people a lot smarter than me are already doing a lot of work with it.

Recommendations

0 members have recommended this reply (displayed in chronological order):

AI: Something Big Is Happening [View all] LiberalArkie Feb 11 OP
Skynet becomes self-aware. sop Feb 11 #1
Yep. OldBaldy1701E Feb 11 #43
I'm not very tech-y at all so Alliepoo Feb 11 #70
Yeah, I have a WIFI camera here as well. OldBaldy1701E Feb 11 #97
Sounds like my house, too DFW Feb 11 #75
I have been involved with IT. OldBaldy1701E Feb 11 #98
The closest I came was allowing Alexa to turn off lights when requested mdbl Feb 11 #92
Applause. (n/t) OldBaldy1701E Feb 11 #99
1984... The film, "Electric Dreams"... ultralite001 Feb 11 #94
I vaguely remember that film! (n/t) OldBaldy1701E Feb 11 #101
🤣🤣🤣 ultralite001 Feb 11 #146
That's what I think every time I see an article about AI FoxNewsSucks Feb 11 #79
The science fiction of our younger years has spent the subsequent years becoming reality.... Jack Valentino Feb 11 #144
Wow! Kid Berwyn Feb 11 #2
I am waiting on the MRI and CTSCAN data to actually get implemented into AI LiberalArkie Feb 11 #4
A Miracle Kid Berwyn Feb 11 #15
Freakononics on NPR ran a amall series in this ending yesterday. mahina Feb 11 #45
One problem with CT/MRI scans Old Crank Feb 11 #53
But not in the developed world where CT scans cost less than $100 LiberalArkie Feb 11 #59
That reminds me of Star Trek. pandr32 Feb 11 #55
Wait until a physics AI develops faster than light drives and fusion power and better is developed LiberalArkie Feb 11 #62
Hopeful! pandr32 Feb 11 #65
Sooner of later the U.S. will join the rest of the world in recognizing that the citizens are its income source and LiberalArkie Feb 11 #68
Who needs people? PatSeg Feb 11 #5
The Universe Kid Berwyn Feb 11 #16
That's it in a nutshell. Thanks. TheRickles Feb 11 #40
The only safe jobs are barbers and morticians Renew Deal Feb 11 #9
Truly! Not to argue... Kid Berwyn Feb 11 #23
Ditto! True Dough Feb 11 #130
That article is mostly marketing hype and not even close to reality. tinrobot Feb 11 #142
Huh, the CEO of an AI company tells me I need to adopt AI? Never would have guessed. Anyone who's familiar with WhiskeyGrinder Feb 11 #3
He was also urging people on X to invest in AI companies as the best way to survive. One of the highplainsdem Feb 11 #10
yeah he's been involved with a few shady investment schemes iirc WhiskeyGrinder Feb 11 #11
Pfffft Prairie Gates Feb 11 #6
A heart for that Easterncedar Feb 11 #7
Anyone that thinks AI is a fad is badly mistaken Renew Deal Feb 11 #8
I think most people are rightfully extremely concerned what this means for jobs (among other things) but mostly jobs themaguffin Feb 11 #12
Not a fad. AI is the devil. Scrivener7 Feb 11 #13
According to this guy, here's what you should do about the upcoming AI apocalypse... EarlG Feb 11 #14
Thank you. You can tell this is just a sales pitch. Oneironaut Feb 11 #38
Won't reach 100% perfectionl Old Crank Feb 11 #63
"Programmers" don't just write code, though. Oneironaut Feb 11 #76
Did you read the part where the newest AI debugs the code as well? scipan Feb 11 #93
Tbh, I'll believe it when I see it. Oneironaut Feb 11 #100
You are right to be skeptical. Also, see highplainsdem's post right above yours scipan Thursday #150
Matt Shumer, who wrote that hype, is well known for hype, has been accused of fraud, and has an highplainsdem Feb 11 #125
Oh. Thanks. He is not to be trusted to tell the truth. nt scipan Thursday #149
News articles that are actually shady sales pitches have been around since newspapers started. Crowman2009 Feb 11 #48
The guy who wrote that advises people to buy AI company stock so they won't need jobs. highplainsdem Feb 11 #61
As if people have enough money or will earn enough dividends to live on. Crowman2009 Feb 11 #78
Vernon Vinge wrote the Singularity about ever evolving AI Swede Feb 11 #17
Using it all the time now, it's incredible Johnny2X2X Feb 11 #18
Imagine the outcry when painters (artists) started using pre-prepared paints instead of creating their own when creating LiberalArkie Feb 11 #21
Good way to look at it Johnny2X2X Feb 11 #24
YES popsdenver Feb 11 #60
Not at all the same thing. Using genAI is more like hiring someone else to do the work for you and highplainsdem Feb 11 #37
Absolutely! SheltieLover Feb 11 #74
So you think people should quit their jobs? Johnny2X2X Feb 11 #83
I've mentioned in a number of posts about how unethical voluntary use of genAI is that I know some highplainsdem Thursday #151
But God forbid we should be able to use non-HP toner ink, or fix a tractor or combine we already paid for! hatrack Feb 11 #140
It will be a wonderful world... hunter Feb 11 #26
This guy is full of shit. hunter Feb 11 #19
Well stated. GreenWave Feb 11 #33
AI is not the "Devil" justaprogressive Feb 11 #20
We had no problem when the pencil was created and humans stopped using charcoal. LiberalArkie Feb 11 #22
My nearly 60 years in IT says this is different. justaprogressive Feb 11 #25
I am old enough to remember when the languages come out (C, Fortran etc) and writing in Assembler was being looked LiberalArkie Feb 11 #28
Computers Johnny2X2X Feb 11 #30
I think it might really be great when the AI's can create a modern processing structure that can replace the LiberalArkie Feb 11 #35
It really will be a sea of new and more useful features for things we already use Johnny2X2X Feb 11 #39
Again, not at all the same thing. See reply 37. highplainsdem Feb 11 #57
Or advancing from whale oil to fossil fuels. Torchlight Thursday #155
Holy cadookalas! cachukis Feb 11 #27
Anti-AI Crusaders should think about redirecting their energies to UBI TheProle Feb 11 #29
And one more reason why the US needs to change to universal healthcare, area51 Feb 11 #91
This gulliver Thursday #154
Is it time for this , again ? dweller Feb 11 #31
How long before some idiot hands over control of the BIG RED BUTTON to AI? Ferrets are Cool Feb 11 #32
About minus one year. usonian Feb 11 #51
If nobody has a job... Happy Hoosier Feb 11 #34
Sorry, but, this is vastly overestimating the capabilities of AI. Oneironaut Feb 11 #36
It's definitely improving rapidly. Lucky Luciano Feb 11 #46
There's no point in trying to fight it? Wrong. There's every reason to fight it, for our freedom from highplainsdem Feb 11 #69
It's not just to misrepresent one's own intellect. A lot of use cases are pretty mundane. Lucky Luciano Feb 11 #80
I'm sorry... hunter Feb 11 #90
Your life sounds sad and woesome. nt Tommy Carcetti Feb 11 #115
?? Lucky Luciano Feb 11 #117
Whenever new AI models are revealed, there's always trememdous hype about how amazing they are, highplainsdem Feb 11 #73
thanks . by your command. AllaN01Bear Feb 11 #41
What about the AI Agent platform that has been created and is AI only yobrault1 Feb 11 #42
That's already been exposed as mostly fraud, with humans having written the posts getting the highplainsdem Feb 11 #66
Next step Mosby Feb 11 #44
Can A I replace dweller Feb 11 #47
Corporate executives are an AI job replacement I would approve of! Crowman2009 Feb 11 #50
I have been using the paid versions of GPT and Claude for a while now Disaffected Feb 11 #49
Agree Johnny2X2X Feb 11 #107
Yes, I've had it do some VBA/Excel as well. Disaffected Feb 11 #108
I, for one, am eager for the day when... WestMichRad Feb 11 #52
Bernie Sanders nails it, as usual. usonian Feb 11 #54
Think of all the scribes that were put out of work when Gutenberg invented the printing press. LiberalArkie Feb 11 #56
Gutenberg, Edison and whoever did not set out to destroy an entire class and population usonian Feb 11 #67
In my Petro space, we are eliminating jobs Melon Feb 11 #58
What kind of world do you want to retire into? hunter Feb 11 #86
Technology can't go backwards Melon Feb 11 #95
We sound old ThreeNoSeep Feb 11 #64
The literal #1 job growth opportunity for the next 10 years? Moostache Feb 11 #71
Worthy of an OP usonian Feb 11 #77
Yours is an impressive, thoughtful response. yonder Feb 11 #105
Not willing to give up our fresh water for this Wild blueberry Feb 11 #72
I never understood the water usage. LiberalArkie Feb 11 #82
Many data centers use evaporative cooling. hunter Feb 11 #109
My entire life has been ever-more-rapid technological change Soul_of_Wit Feb 11 #81
I did it at 65. I was just really tired and inside felt that I was dying. LiberalArkie Feb 11 #84
I've been in IT for over 30 years angrychair Feb 11 #85
It is already replacing entry-level jobs Soul_of_Wit Feb 11 #88
No business has shown an ROI angrychair Feb 11 #96
The stats TheProle Feb 11 #112
The stats are awful angrychair Feb 11 #116
Ed Zitron has done a great job explaining this insane AI bubble. highplainsdem Feb 11 #137
According to a Wharton study, 75% of enterprises "report positive return on investment." Renew Deal Feb 11 #121
Mollick is one of the biggest shills for the AI industry. highplainsdem Feb 11 #122
There's a lot of attacking the messenger in this thread Renew Deal Feb 11 #126
The messenger in the OP, Matt Shumer, is already known for both hype and fraud. highplainsdem Feb 11 #132
What do you think happens in the collapse? Renew Deal Feb 11 #133
lets see lapfog_1 Feb 11 #145
MIT report: 95% of generative AI pilots at companies are failing highplainsdem Feb 11 #124
Those are pilots Renew Deal Feb 11 #128
By that standard, Trump was doing things right with all his business failures. highplainsdem Feb 11 #134
Those were not pilots Renew Deal Feb 11 #135
I'd have to read the study...but... Lucky Luciano Thursday #147
This is not relevant to the comment you replied to Soul_of_Wit Thursday #148
Reading the comments to this thread is an interesting mix of skepticism, optimism, fear, and... Ol Janx Spirit Feb 11 #87
Oh, Please DarthDem Feb 11 #89
7x8 equals 56 usedtobedemgurl Feb 11 #102
A very plausible timeline of the next couple of years: LudwigPastorius Feb 11 #103
Ohh Hell LiberalArkie Feb 11 #111
Breakin' 2: Electric Boogaloo Torchlight Feb 11 #104
Visual representation RoseTrellis Feb 11 #106
Can We Use AI To Help Rid Us Of Tr**p?....nt9 global1 Feb 11 #110
Matt Shumer is known for overhyping and has been accused of fraud. See this: highplainsdem Feb 11 #113
Bank on this: Basic income, universal healthcare, inheritance for all, and... pat_k Feb 11 #114
No way that's going to happen with the AI bros and the Trump regime. And their intent is to rig highplainsdem Feb 11 #118
30 to 40 million displaced white collar workers would make a hell of a noise. pat_k Feb 11 #123
I think that only becomes possible after significant poverty and destruction Renew Deal Feb 11 #131
If the predicted 50% of the 70 million or so white collar/professionals/knowledge workers lose their jobs. pat_k Feb 11 #139
LOL!!! Matt Shumer's company offers AI generators for "team member praise" and heartfelt sympathy highplainsdem Feb 11 #119
LOL! Shumer needed AI to help him write that piece! Talk about someone being AI-dependent...but highplainsdem Feb 11 #120
LiberalArkie, did you bother to find out ANYTHING about Matt Shumer's background before you posted this? highplainsdem Feb 11 #127
This message was self-deleted by its author sakabatou Feb 11 #129
AI slop using tools trained on stolen intellectual property. highplainsdem Feb 11 #136
Tell that to the illustrator Miyu, plus Andrew Holmes & Cosmoz Productions sakabatou Feb 11 #138
It's a chatbot with a very annoying voice. And they won't reveal the training data, which suggests very highplainsdem Feb 11 #141
Reddit thread on Shumer's hypefest: highplainsdem Feb 11 #143
Reddit thread & YouTube video on why Shumer was accused of fraud in 2024: highplainsdem Thursday #152
Things are getting real Johnny2X2X Thursday #153
AI is getting really hyped as they try to sustain their AI bubble. Microsoft pushing AI has met with a highplainsdem Thursday #159
This is why the Epstein-ICE melodramas are so terrible for us all gulliver Thursday #156
I fear the ship has sailed with the 2024 elections Johnny2X2X Thursday #157
It is an opening for Dems gulliver Thursday #158
The AI companies and the tech bros are fighting regulation. Same for the crypto companies. Both highplainsdem Thursday #160
Latest Discussions»General Discussion»AI: Something Big Is Hap...»Reply #107