+ Reply to Thread
Results 1 to 8 of 8

Equation Editor

  1. #1
    Valued Forum Contributor
    Join Date
    11-12-2014
    Location
    Nottingham
    MS-Off Ver
    2013
    Posts
    383

    Equation Editor

    Hi All,

    I am currently creating a linear equation solver for teaching purposes. I have it working in cells but would like to tidy it up and therefore use the equation editor built into Excel.

    However I am struggling to find anything about accessing it through VBA on google. Also recording a macro and rerunning it only creates a textbox rather than the equation editor.

    Any advice on creating and accessing it would be hugely appreciated.

    Thanks,
    ARowbot
    !If all your troubles are solved, then so is the thread. Show this by marking it so using thread tools at the top of the page.
    If I helped do this, then please show your appreciation by awarding rep points.
    <------ Button for that is over there

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Equation Editor

    Hi,

    Great question! I've rarely used the equation editor but find two good recourses at:

    https://www.exceldemy.com/how-to-ins...uation-editor/ and
    https://www.exceldemy.com/how-to-ins...stom-function/

    I'd love to see what you have so far for demonstrating how you teach linear equations.

    Can you attach what you have and we could see what direction you are going?
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Valued Forum Contributor
    Join Date
    11-12-2014
    Location
    Nottingham
    MS-Off Ver
    2013
    Posts
    383

    Re: Equation Editor

    Sure, Please find attached what I have so far... If you find any bugs then please let me know as it is certainly a working progress.

    I'm also still learning VBA so please if you have any advice on this question or anything else I could do to improve or tidy up the code then I'll be happy to hear it!

    Thanks for the resources,

    ARowbot

    EDIT: Having looked through the resources, there seems to be nothing about accessing the equation through VBA...
    Attached Files Attached Files
    Last edited by ARowbot; 05-13-2017 at 10:44 AM.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Equation Editor

    Hey,

    Very impressive workbook. As for the original question, I don't know of any way to program inside those "formula shapes". As for your code, you've done a lot of work to show students how to solve linear equations. I'm impressed with how you've implemented the columns downward with next steps.

    I have two programming tools that might help you. PUP 7.2 will show you lots of info about your code and do reports telling you what you have. MZTools will help you code better. I've used it to auto indent your lines as I return your work.

    Solving Linear Equations (1).xlsm

    I did find a compile bug in "Old Stuff" where you have an Else without an If.

    I'd put Option Explicit as the first line of each module to insure you have not misspelled any variable names.

    It was fun looking at your code and trying to figure out what it does, with a limited amount of success. The variable names and how they associated to the worksheet was lots of my problem.

    Sorry I couldn't be more of a help.

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,626

    Re: Equation Editor

    Hi,

    Unfortunately, I know nothing about manipulating embedded OLE object of Equation.3 type so will not help here. I'm also impressed by the work done.
    As with any program there are always some bugs. By chance - I found one, so share it with you:
    Attached Images Attached Images
    Best Regards,

    Kaper

  6. #6
    Valued Forum Contributor
    Join Date
    11-12-2014
    Location
    Nottingham
    MS-Off Ver
    2013
    Posts
    383

    Re: Equation Editor

    Thanks for spotting! Just a typo when calculating the left brackets multiplier I was accidentally dividing by the other brackets denominator. Surprising I hadn't picked that up sooner! I'm starting to feel like it is impossible to deal with the equations...

  7. #7
    Valued Forum Contributor
    Join Date
    11-12-2014
    Location
    Nottingham
    MS-Off Ver
    2013
    Posts
    383

    Re: Equation Editor

    It seems that an equation is a Microsoft word object hence maybe why I am struggling to record it in excel, can anyone shed any light on creating a word object using excel and then copy and paste it over?

  8. #8
    Valued Forum Contributor
    Join Date
    11-12-2014
    Location
    Nottingham
    MS-Off Ver
    2013
    Posts
    383

    Re: Equation Editor

    For anybody interested...

    Please Login or Register  to view this content.
    If anybody knows a way to speed this up however I would be very grateful.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] equation editor toolbar
    By Robin A in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-20-2006, 10:10 AM
  2. Excel 2007 : Equation editor
    By rogerlebo in forum Excel General
    Replies: 0
    Last Post: 06-06-2006, 05:25 PM
  3. equation editor 3.0
    By labview1958 in forum Excel General
    Replies: 1
    Last Post: 05-18-2006, 03:41 AM
  4. equation editor 3.0
    By labview1958 in forum Excel General
    Replies: 0
    Last Post: 04-24-2006, 09:10 PM
  5. Equation Editor overlapping symbols after edit
    By K. Archibald in forum Excel General
    Replies: 0
    Last Post: 02-28-2006, 11:30 AM
  6. how do i use equation editor ?
    By Yazz in forum Excel General
    Replies: 1
    Last Post: 11-01-2005, 09:05 AM
  7. [SOLVED] Equation Editor- problem when editing an equation
    By Gaby L. in forum Excel General
    Replies: 0
    Last Post: 09-27-2005, 05:05 PM
  8. [SOLVED] equation editor
    By lesley in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-04-2005, 07:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1