+ Reply to Thread
Results 1 to 10 of 10

I need a POP-UP calculated to edit balance field

  1. #1
    Forum Contributor
    Join Date
    12-20-2014
    Location
    London, England
    MS-Off Ver
    Excel 2016
    Posts
    137

    I need a POP-UP calculated to edit balance field

    I want to be able to add or subtract my BALANCE figures, using a POP-UP calculator - that appears when I select an icon next to any balance cell.

    I'm looking for something similar to the pop-up calendar by "XLTools" Excel Add On, but with a numeric keyboard to add or subtract to the existing. A small icon appears to the right of the cell, which you select if the pop calculator is needed.

    If I need to, I want to be able to edit the balance with the computer keyboard as normal without any hindrance from this pop-up function. So If I don't select the function icon, the balance cell is as normal.

    NOTE: on the pop-up keyboard, if I do not select ADD or MINUS first, the number entered should replace the existing. If ADD or MINUS is selected first then calculation (+ -) on the existing balance should be done. Selecting any other cell finalises the calculation and closes the pop-up.

    PLEASE SEE ATTACHED EXCEL SHEET FOR MY BALANCE TABLE

    Thank you

    Also posted in:
    http://www.mrexcel.com/forum/excel-q...nce-field.html
    http://www.ozgrid.com/forum/showthre...431#post781431
    Attached Files Attached Files
    Last edited by John19; 11-26-2016 at 09:03 PM.

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: I need a POP-UP calculated to edit balance field

    plz attach image & confirm.
    If yes, > Go to "office Button" > Click "Excel Option" > Select "Customize" > select "all command" > select "Calculator" > click on "Add" button > click ok
    Attached Images Attached Images


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Forum Contributor
    Join Date
    12-20-2014
    Location
    London, England
    MS-Off Ver
    Excel 2016
    Posts
    137

    Re: I need a POP-UP calculated to edit balance field

    sorry don't understand your solution - I know how to launch the calculator? it wasn't what I described in my post.

    thanks anyway for the suggestion

  4. #4
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: I need a POP-UP calculated to edit balance field

    As well as the included link to MrExcel, also posted on OzGrid.

    Please update all your threads to include all the links.

  5. #5
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: I need a POP-UP calculated to edit balance field

    Hello
    Not sure if you've had any success with replies elsewhere but I've had a stab at creating a userform, which may be something you can use, if I've understood you correctly.

    For demonstration, I've placed a few icons on the sheet next to the balance column, these do need to be postioned accurately in the cells. When clicked, the adjacent balance cell is selected and the user form is opened.

    There's a toggle button on the form that moves from "Replace"; "Add" and "Subtract". Depending on the selction that's how the selected cell is affected.

    After entering the numbers in the text box click submit to place the new value into the selected cell. Click any cell within the borders of the table to close the form.

    The form is not showing modal, so the worksheet can be accessed as normal.

    Hope this helps.
    DBY
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    12-20-2014
    Location
    London, England
    MS-Off Ver
    Excel 2016
    Posts
    137

    Re: I need a POP-UP calculated to edit balance field

    Very good! just as I was going up hope, exactly what I'm after thank you.

    Any chance you could make changes to it? Let me play around with it to see.

    again thank you very much

  7. #7
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: I need a POP-UP calculated to edit balance field

    Hello John
    Glad you found it useful. It passed away a few hours on a dull Sunday afternoon. As with all things VBA a bit of testing is required to see if it breaks. I have found a bug in that if the text box is empty and add or subtract is applied it produces an error.

    Accordingly, I've amended the following sub to:

    Please Login or Register  to view this content.
    This stops the command if the text box is empty. Is that ok?
    DBY

  8. #8
    Forum Contributor
    Join Date
    12-20-2014
    Location
    London, England
    MS-Off Ver
    Excel 2016
    Posts
    137

    Re: I need a POP-UP calculated to edit balance field

    Can you change the following:

    1) make the edit box smaller - covers up too much of the screen - can't see data behind it
    2) make the edit box appear on the right side of the Balance column - covers up my data on the left
    3) make the "0" digit after the "9" - or make the number layout same as on MS calculator
    4) make the icons only appear when a balance cell is selected - I have data on those cells
    5) on the edit box, don't need replace option (can type directly into the cells to replace)
    6) when the box opens up, by default it should be on ADD - and the toggle button is changed to "-/+" (you have it as "+/-")
    7) make the edit box disappear if any cells outside the balance column is selected - at the moment it only disappears if any cell within the table is selected - should be anywhere in the sheet
    8) there appears to be a delay when pressing numbers repeatedly? try typing 100

    thanks
    Last edited by John19; 11-27-2016 at 05:23 PM.

  9. #9
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: I need a POP-UP calculated to edit balance field

    Hi
    Wow! you set me some homework there! I've been a little busy today but I've made some amendments as you asked. Not sure if it's everything you want but it works as following:

    1. The form is now smaller and more compact.
    2. It now appears on the right side of the balance column.
    3. The numerical layout is now similar to the MS calculator.
    4. There's now only a single icon that appears when any "Balance" cell is selected (L40:L91).
    5. "Replace" has been removed.
    6. Default is now "Add".
    7. Form and icon disappear when any cell is selected, apart form "Balance" range.
    8. Changed command button event for numerical input to "MouseUp" rather than "Click", this seems smoother.

    Test this out and see how you go.

    DBY
    Attached Files Attached Files
    Last edited by DBY; 11-28-2016 at 12:55 PM.

  10. #10
    Forum Contributor
    Join Date
    12-20-2014
    Location
    London, England
    MS-Off Ver
    Excel 2016
    Posts
    137

    Re: I need a POP-UP calculated to edit balance field

    just seen it now, flabbergasted -very very good.

    let me use it for a couple of days just to make sure, maybe one or two last fine tuning to it.

    you're amazing thank you.

+ 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. Replies: 0
    Last Post: 08-15-2016, 02:07 PM
  2. Replies: 0
    Last Post: 10-24-2013, 10:59 AM
  3. [SOLVED] Edit the formula in a calculated pivot table field
    By dmascola in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-07-2013, 08:35 PM
  4. Replies: 0
    Last Post: 06-26-2012, 09:06 PM
  5. Excel 2007 : Edit pivot table calculated field
    By terrideo in forum Excel General
    Replies: 2
    Last Post: 05-11-2011, 12:17 PM
  6. Replies: 2
    Last Post: 03-06-2009, 11:49 AM
  7. [SOLVED] pivot table formulas for calculated field or calculated item
    By Vicky in forum Excel General
    Replies: 3
    Last Post: 06-06-2006, 12:10 AM

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