Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Excel > Excel Programming

LinkBack Thread Tools Display Modes
Old 09-12-2018, 03:28 AM
19339 19339 is offline Windows 10 Office 2013
Join Date: Sep 2018
Posts: 1
19339 is on a distinguished road
Default Could somebody help me with the code of my VBA userforms(Combibox - saving - editing of data)

UV filter onderhoud 1-8 & 9-12 & 13-16.xlsm
Hello my name is sebastiaan and i am doing an internship in an company fort hat company i am trying to make an excel file that works with userforms to keep track of the maintance of the UV machines that are installed in section 1-8 and in 9-12 and in 13-16.

Each section has 4 userforms:
Main userform: Program1_8 & Program9_12 & Program13_16
Nieuw(new) userform: Program1_81 & Program9_121 & Program13_161
Login userform: Program1_82 & Program9_122 & Program13_162
Bewerken(edit) userform: Program1_83 & Program9_123 & Program13_163

The sheets are are as following:
Main sheet: has the 3 tables that are connected tot the first Userform of each section and also connected tot the bewerken(edit) userform

Lampnumber sheets: in these sheets i was planning to save the new entries of data from the nieuw(new) userform wich would be stored in its corresponding Lampnumber sheet in the table wich are marked by colour that belongs to one of the sections

The working of the userforms should work as the following:
The main userform is connected with the corresponding table in the main sheet and you can only look through the data with the main userform and not edit any data.

The nieuw(new) userform would create an new entry of data that would be saved following the chosen Lampnumber in the corresponding table in the Lampnumber sheets in the rigth table colour that belongs to that section.

The login userform works by using the login information and once typed right it should open the bewerken(edit) userform.

The bewerken(edit) userform works by being connected to the table in the Main sheet that belongs to the corresponding section in the userform you can select the lampnumber and see all the information as you can aslo see in the Main userform only now you can edit it and save it.

Login information:
Name: Admin
Ww: 1234

The colours of the tables corresponding tot he sections are
1-8: Blue
9-12: Orange
13-16: Green

The problem that I have and I need help with is that don’t know or understand wich code I should use or need to use to make the Nieuw(new) userform work per section.
or how to make the bewerken(edit) userform work so that it saves the data on the correct table in the Lampnumber sheets.

I once asked on an other forum how to connect the combibox of Program1_8 with the table on the top of the Main sheet after wich i got an responce and an code to use i tried to edit the code so that it also works with the other userforms: Program9_12 and Program13_16 i hope that somebody could also provide me with the code for that or can explain it to me how to edit it correctly

^those are the probelms that i have and i hope that someone could help me with it.
My main language is not english so i hope it is readble if there are any questions about anything that is unclear feel free to ask i will responce as fast as i can.

I am looking forward to your responds thx already in forward.



Last edited by Pecoflyer; 09-13-2018 at 12:07 AM. Reason: Moved to VBA forum
Reply With Quote
Old 09-13-2018, 07:54 AM
NoSparks NoSparks is offline Windows 7 64bit Office 2010 64bit
Excel Hobbyist
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 675
NoSparks will become famous soon enoughNoSparks will become famous soon enough

Belleke has given assistance here, not here, here, here or here.
Reply With Quote
Old 09-14-2018, 12:06 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Windows 7 64bit Office 2010 64bit
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,365
Pecoflyer is a glorious beacon of lightPecoflyer is a glorious beacon of lightPecoflyer is a glorious beacon of lightPecoflyer is a glorious beacon of lightPecoflyer is a glorious beacon of light

Hi and welcome
Please,do not crosspost your question on multiple forums without including links here to the other threads on other forums.

Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

Do not post any further responses in this thread until a link has been provided to these cross posts.
Problem solved ? Let others know by clicking " Thread Tools" then " Mark thread as solved".( This can be undone if need be)
Want to thank for the help received ? Click the scales symbol in the upper right corner of a post from the person you want to thank.
Reply With Quote

excel 2013, vba, vba code

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to have menubar in userforms srinivasaru Excel Programming 3 03-22-2017 03:53 AM
Error Saving Outlook attachment Via Excel code charlesdh Excel Programming 1 01-04-2016 11:55 AM
using office icons on userforms controls fraz627 Excel 0 05-02-2014 06:02 PM
Editing a templates code? Ido Excel 1 11-08-2012 08:13 PM
looping controls on userforms Cbrehm Excel Programming 5 05-11-2011 02:53 AM

All times are GMT -7. The time now is 07:57 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc. is not affiliated with Microsoft