­
AI gave me a sense of bereavement — ICT & Computing in Education
  • Front Page
  • Search
    • Digital Education
    • Terry Freedman's Books Bulletin
  • RSS
    • Welcome
    • The "About" Page
    • Testimonials
    • CV/Resumé
    • My Writing
    • Published articles
  • Corrections Policy
Menu

ICT & Computing in Education

Articles on education technology and related topics
  • Front Page
  • Search
  • Newsletters
    • Digital Education
    • Terry Freedman's Books Bulletin
  • RSS
  • Info
    • Welcome
    • The "About" Page
    • Testimonials
    • CV/Resumé
    • My Writing
    • Published articles
  • Corrections Policy

From a spreadsheet created by Terry Freedman

AI gave me a sense of bereavement

December 20, 2023

A few years ago at a conference, an erstwhile colleague who was giving the keynote presentation referred to “My ex-colleague Terry Freedman, the Excel guru.” While flattering, it was more the case that I made a great deal of use of, at the time, Visual Basic and Visual Basic for Applications. It so happened that most of the applications I created were in Excel, but that was not exclusively the case.

For example, I created a project management program in Microsoft Access because the ones available off the shelf were far too fully-featured for my requirements. I wanted a simple application that would enable me to easily assign tasks to people and people to tasks in a team of around six people. True, I could have used a spreadsheet, or the back of a few envelopes, but I wanted to use the relational database functionality to ensure that a change to one variable would be instantly reflected everywhere else.

I also created a lesson planner in Word that made generating a lesson plan a job of minutes. This was back in the days when school inspectors and some headteachers expected deetailed lesson plans for every lesson. The most important thing, of course, was in the thinking, but having to write out a hugely detailed lesson plan for five lessons a day, five days a week, was simply awful. Therefore I devised a planner that entailed filling in a form, using drop-down menus as much as possible, and then clicking ‘OK’. The VBA then kicked in and squirted all the information from the form into a pre-formatted lesson plan template and saved it as a document — the teacher didn’t even have to specify what to call it or where to save it, unless they wanted to.

I very much enjoyed figuring out how to do this kind of thing, but twenty odd years later I find myself in the same mode of thinking as James Somers, who writes, in an article in the New Yorker:

“When I got into programming, it was because computers felt like a form of magic. The machine gave you powers but required you to study its arcane secrets—to learn a spell language. This took a particular cast of mind. I felt selected. I devoted myself to tedium, to careful thinking, and to the accumulation of obscure knowledge. Then, one day, it became possible to achieve many of the same ends without the thinking and without the knowledge. Looked at in a certain light, this can make quite a lot of one’s working life seem like a waste of time.”
— James Somers

I couldn’t have put it better myself. My usual procedure was to figure out what I wanted the application to do, drawing it out in flowcharts if it was super complicated, and then working out how to actually make it happen. Sometimes this entailed applying what I already knew, but other times it would require a trawl on the internet (on websites or forums dedicated to VBA in specific applications), finding something that was similar to what I wanted to do, tweaking it, and then testing it.

The process took place over several days, because I did have other work to do, and often I would play around with it in my own time. This investment was worth it in the end because the applications I created made everybody’s life easier and enabled us to do more than we could have otherwise with very little effort. Above all, there was a huge sense of achievement at the end of it, and I have to say that I was not averse to the acclaim I received! I also enjoyed the process whereby someone else on the team would say, “It would be great if the program would let me do X”, to which I’d respond, “OK, let me see if I can make that happen.” I don’t recall a time that I couldn’t, and the finbished product was always better as the result of thiis type of collaboration.

But enter ChatGPT. For the purposes of this article I asked ChatGPT:

Tell me how to create a user form in Microsoft Word that will enable the user to fill in certain fields or select from drop-down menus and then have the answers inserted into a document and formatted properly

Here’s the response:

Creating a user form in Microsoft Word involves using form controls such as text fields, drop-down menus, and checkboxes. Follow these steps to create a user-friendly form:

Enable Developer Tab:

Go to the "File" tab and select “Options.”

In the Word Options dialog box, choose "Customize Ribbon.”

Check the "Developer" option in the right column.

Click "OK" to enable the Developer tab.

Insert Form Controls:

Go to the "Developer” tab.

Click on "Design Mode" to enable form design.

Click on the control you want to insert (Text Box, Combo Box for drop-downs, etc.) under the "Controls” group.

Text Boxes:

Insert text boxes for open-ended responses.

Click "Rich Text Content Control" for more formatting options.

Combo Boxes (Drop-down Menus):

Insert a Combo Box from the "Controls" group on the Developer tab.

Right-click on the Combo Box and choose "Properties" to set the list items.

Checkboxes:

Insert checkboxes from the "Controls” group.

You can group related checkboxes together.

Content Controls Properties:

Right-click on each control and select "Properties" to set default values, formatting, and more.

Protect the Document:

Go to the "Developer" tab and click on "Protect Document.”

Choose "Filling in forms" to allow users to fill in the form.

Add Instructional Text:

Use regular text or add content controls with instructional text to guide users.

Design the Document:

Design the document around the form controls, leaving space for user input.

Test the Form:

Exit design mode and test the form. Users can now fill in the fields, select from drop-down menus, and check checkboxes.

Retrieve Form Responses:

After users have filled in the form, you can access the responses:

Navigate to the "Developer" tab, click "Design Mode" to disable it.

You can now see and interact with the filled form.

Automate Formatting (Optional):

You can use VBA (Visual Basic for Applications) to automate the formatting of responses. This requires some programming knowledge.

Remember, creating a user form with Microsoft Word can be limited in terms of functionality compared to dedicated form-building tools or applications. If you need more advanced features or data processing, consider using Microsoft Excel or other dedicated form-building platforms.

Not bad, but somewhat lacking in specifics. So I asked a supplementary question:
How can I use VBA to take the responses from a form and put them into a document in the correct places.

Again, here is ChatGPT’s response:

Using VBA (Visual Basic for Applications) in Microsoft Word, you can automate the process of taking responses from a form and placing them in specific locations within the document. Here's a basic example to get you started:

Open the Word Document:

Open your Word document that contains the form.

Access the Developer Tab:

Go to the "Developer” tab.

Open the VBA Editor:

Click on "Visual Basic" to open the VBA editor.

Insert a Module:

Right-click on any item in the Project Explorer on the left and select "Insert" -> "Module." This is where you'll write your VBA code.

Write the VBA Code:

Use the following example code as a starting point. This code assumes you have form fields named "TextBox1" and "ComboBox1" in your document. Adjust the field names and document structure according to your specific setup.

Sub PopulateDocument()

' Access the form fields

Dim txtBox As ContentControl

Dim comboBx As ContentControl

' Set references to specific form fields by their titles

Set txtBox = ActiveDocument.SelectContentControlsByTitle("TextBox1")(1)

Set comboBx = ActiveDocument.SelectContentControlsByTitle("ComboBox1")(1)

' Get user input (responses from the form)

Dim userResponseTextBox As String

Dim userResponseComboBox As String

userResponseTextBox = InputBox("Enter text:”)

Run the Code:

Close the VBA editor and run the code by pressing F5 or selecting "Run" from the "Run” menu.

So there you go: hours or even days of figuring stuff out reduced to literally four minutes. You can see why I felt a sense of loss, of redundancy. All those hard-earned skills — not just in VB or VBA but also Python, Java and, to a lesser extent, JavaScript, not to mention the old BASIC — simply not needed any more.

Nevertheless, I take solace from the conclusion Somers comes to:

“Computing is not yet overcome. GPT-4 is impressive, but a layperson can’t wield it the way a programmer can. I still feel secure in my profession. In fact, I feel somewhat more secure than before. As software gets easier to make, it’ll proliferate; programmers will be tasked with its design, its configuration, and its maintenance. ... A friend of mine has called this A.I. moment “the revenge of the so-so programmer.” As coding per se begins to matter less, maybe softer skills will shine.”
— James Somers

I think he is right, and I see this as analogous to the writing sphere. I’ver thought for a long time now that as ChatGPT and its ilk are used more and more for creating texts, extracting data and summarising texts, those of us who are pretty good at wielding a pen or a keyboard in a way that moves people will be in even more demand. I don’t care that ChatGPT can do a better job than I can at some tasks, because I don’t want to do those tasks anyway.

I also think, if Somers and his friend are right, that I have been vindicated in my belief that the pronouncements of so-called and often self-styled education gurus at conferences were frequently inconsistent. Their ‘argument’ was always along the lines of:

By the time the kids who are entering your school now are leaving, the jobs they will be doing are ones we cannot even imagine now. Therefore we must make sure they can do programming.

Well I’m sorry, but if the first sentence is true then the second sentence doesn’t follow logically in my opinion. Maybe computational thinking would be useful to teach and for some students to learn, but it’s inconceivable that every students would need to leave school as a skilled programmer. It would be a lot better, in my opinion, if they learnt so-called soft skills such as how to collaborate with people, and how to find out information that they may be so familiar with that they’ve forgotten how vital it is. This is the pink slip problem.

Also, to learn how to use tools like ChatGPT to maximise their effectiveness. After all, ChatGPT et al may be brilliant, but the old adage garbage in garbage out must still apply. At least until AI can actually think for us before we’ve asked it a thing!

You may also be interested in reading 9 incredibly useful AI resources


← On this day: 27 December 2019 and 202218 Essential Elements of a Digital Financial Literacy Course →
Recent book reviews
Review: Social Media for Academics
Review: Social Media for Academics

This book is very readable, and if I sound surprised that is because it’s not always true of academics!

Read More →
Quick looks: VIBE Coding by Example
Quick looks: VIBE Coding by Example

For the time being, this book is free in Kindle format.

Read More →
Review: The Game Changers: How Playing Games Changed the World and Can Change You Too
Review: The Game Changers: How Playing Games Changed the World and Can Change You Too

Despite the relative paucity of immediately obvious National Curriculum links, teachers will find several of sections of this book to be highly engaging.

Read More →
Review: The Dictators: 64 Dictators, 64 Authors, 64 Warnings from History
Review: The Dictators: 64 Dictators, 64 Authors, 64 Warnings from History

In some respects one could view this book as a single warning repeated 64 times.

Read More →
Review: The Bookshop, The Draper, The Candlestick Maker: A History of the High Street 
Review: The Bookshop, The Draper, The Candlestick Maker: A History of the High Street 

Taking readers from the Middle Ages to (more or less) the present day, Gray charts how the places where we do our shopping and what we buy have changed over the centuries.

Read More →
Review: Extraordinary Learning For All
Review: Extraordinary Learning For All

As a source of potential ideas and inspiration, the book could be very useful indeed.

Read More →
Review: Bad Education: Why Our Universities Are Broken and How We Can Fix Them
Review: Bad Education: Why Our Universities Are Broken and How We Can Fix Them

One has the impression that the main role of the university these days is to maximise profit, while that of the majority of teaching staff is to ensure the ‘correct’ views are passed on to students. All the while, students’ main concern seems to be to seek protection from anything that might make them feel unsafe.

Read More →
Review: Next Practices - An Executive Guide for Education Decision Makers
Review: Next Practices - An Executive Guide for Education Decision Makers

Is a 2014 book on managing the computing provision in a school still worth buying?

Read More →
Still relevant (sadly): How to lie with statistics, by Darrell Huff
Still relevant (sadly): How to lie with statistics, by Darrell Huff

Although this book is over 60 years old, it is remarkably apposite for our times -- and especially in the fields of educational research and assessing pupils' understanding and progress.

Read More →
Quick looks: Bad Education: Why Our Universities Are Broken and How We Can Fix Them
Quick looks: Bad Education: Why Our Universities Are Broken and How We Can Fix Them

It was a great source of pride to me, getting hundreds of students through their A levels and encouraging them to go to university. But for some time I have asked myself a question: would I recommend this route now?

Read More →
Dig+Ed+Banner.jpg

Contact us

Privacy

Cookies

Terms and conditions

This website is powered by Squarespace

(c) Terry Freedman All Rights Reserved