Turn spreadsheet calculation into User form or App

gazmoz17

Board Regular
Joined
Sep 18, 2020
Messages
158
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have no experience of userfroms. Is it possible to make columns A:E a user form or look more formal and app like?

Ideally so users could drag it around on desktop as its own little popup window?

Am I able to post the actual file as an attachement?

Its basically an input calculation looking up postcodes and index/match to 2 lookup tables.



Many Thanks
Gareth
 

Attachments

  • Calc.PNG
    Calc.PNG
    15.9 KB · Views: 12
  • Index Match lookup tables.PNG
    Index Match lookup tables.PNG
    26.4 KB · Views: 12

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hi gazmoz17,

It is possible to put columns A:E in to a userform, and this would appear to be a popup when called via macro/button. The table can be used to populate the result based on the inputs from the form as well.

Some users use dropbox to host a file, or the XL22b facility on Mr Excel.

From your images I've got...
  • user can only change values in column B
  • user can change 'Fuel' value in column E
  • values in column E are driven by inputs in column B
Also what determines the 'Red' in column C once a postcode has been entered? Is this another lookup to another table?

If you can post the sheet I'll have a look at it for you :biggrin:


sxhall
 
Upvote 0
Hi sxhall,

Thanks for the reply really appreciate any help.

Yeah your observations are correct there 👍 with regards inputs. Yes red is determined by a lookup in another sheet.

Can ignore the yellows in the image as jsut reference really.

Struggling a little bit with XL22B but not sure will be able to save the whole workbook and vba via XL22B?

Is there another way to post my workbook?... the drop box method you mentioned if you have any more details please?

Many Thanks
 

Attachments

  • Ref only.PNG
    Ref only.PNG
    8 KB · Views: 5
  • Postcode map image.PNG
    Postcode map image.PNG
    213.8 KB · Views: 5
Upvote 0
When installing XL22B Im getting this message:

"This file type is not supported in Protected View."

But I'm not in Protected View as far as I know?

Thanks
 
Upvote 0
You will need to create an account with dropbox.com , there is a try it for free option on the home page.

1695742742605.png


Once you have an account you can save your file (you can drag and drop the file to the web page when prompted or select the file to upload) and it will be stored there. You can then share a link to the file here that will allow me to access the file via the web.

Sounds like the file will be too large for the XL22b method.

Dropbox is secure and is used here regulalry. I will use it to share the file back to you once done :)
 
Upvote 0
Hi,

Apologies for the dealy I did read this last night at home but only had the file on work PC.


Hugely appreciate your assistance. Let me know if you need anything else or the file is incorrectly shared etc.

Managed to edit Trust centre settings and & get XL2BB working and it look awesome tool. Your right though my file is prob too big.

Thanks 👍
 
Upvote 0
Hi gazmoz17,

Finally gotten there with this! Have saved the file on dropbox ready to download.

Only things I could figure out was what bearing 'Apex Y/N' option has and should the blue arrow point to anything! Have rearranged the data a bit on the directory and range tabs. Would suggest hiding htese and protecting them to stop users changing anything on them.

Other than that attached has a sheet called 'Calc launch Button' on which there is a button to launch the userform.

1695912251216.png


Hope it all goes well, there is a lot in this little userform :)

sxhall
 
Upvote 0
Wow looks superb mate 😎I’ll have a look this evening. Sorry that was my fault I thought id sent a seperate message regarding the apex (to ignore it as a calc for now). Its just ref really to cap the overall output, but a variable for capping it I wouldnt be able to feed into here. And its not a big manual calc really the capping decision. That looks so cool and will be so helpful for us at work. My colleagues bless… manually typed the postcodes up and do a control f search for postcode colour and then all manual from there. Been on my list for ages to do this for them but I have no experience of user forms to make it look more professional etc
 
Upvote 0

Forum statistics

Threads
1,223,239
Messages
6,170,947
Members
452,368
Latest member
jayp2104

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top