Is there a way to enter, save and delete entire row in a scrollable list and reflect the same changes in main data sheet in excel - excel

Fisrt i would like to state that i don't know much about vba other than what i pick up from the internet and forums like this one. I have a problem and i'm hoping some on this forum will come to my rescue.
I'm trying to create a simple equipment maintenance system in excel. I do not want to use the vba user form Because i do not have much knowledge of vba coding.I have two sheets, Sheet1 (called Form) and sheet2 (called Data). So i have craeted an on sheet form on the left of the sheet1 (Form) which i would like to stay visible at all times So to achieve this i picked up a method from the internet of creating a scrollable list (Displaying all data entries from sheet1 (Form), i have also picked up vba code to save and reflect form entries on Sheet1 (Form) on sheet 2, so far so good. Coming to the problem, i would like to make and delete entries directly on to the scrollable list which would also reflect on the data sheet. Another problem i would like to know if possible is how to make the maximum value of the scrollable can increase automatically as data rows increase.
Please HELP!

Related

Auto populating Excel Table from keywords, error checking for defined names, etc

I am attempting to find a solution with either excel or visual basics.
I have an expanding column of remarks on multiple sheets that I need to search through for a keyword (I’m using the word “change” or “chang” to capture “changing” when needed)
When this keyword is found, I need it to give back the cell address, along with a defined name I’ve set up (one for each sheet).
I was able to make a table on a “summary sheet” to include the “new comment”, address, and defined name, and it works well enough. My only concern now is if I add a new row and therefore add a new comment in the column on one sheet, I will have to go back and add a row to my table, and make sure the address and defined name are also corresponding to that “new comment”. This will get very messy and errors can occur, especially since I could have 20+ sheets.
So far all I have been using is excel formulas. But I have also been playing around with excel macros to try and accomplish this (with no luck).
Any help would be greatly appreciated! And I of course can explain this better if need be.
Edit: I added a picture of the general basis of what I’m trying to accomplish. I can’t add the code I’ve been trying as it’s on my work laptop- so I made a simple mock-up of my sheet to include here. I took pictures of the highlighted cell in sheet 1 to show the formulas, and then a picture of sheet 2.1

Adding a table that can be edited in a userform

I know this might be a ridiculous question that kind of defeats the purpose of a userform but I have a large userform that I would like to use to avoid the user from having to interact with the sheets.
Here goes...
I would like to add a table that you can edit in the userform which is linked to cells in a certain sheet. As you can see in the image below, each row has an individual name which has to be entered by the user manually.
what I was going to do was create a number of textboxes in the location column and use the lists tool for the other two columns (Probe ID and location number) that you can see in the picture. However, when I do this it is impossible to get the textboxes to line up and the code would be quite long winded. Hence why I am looking for something that can simplfy the task.
I have looked around online but all I have found is the following which can't be edited in the userform, but it does have the beginings of what I would be looking for.
https://www.mrexcel.com/board/threads/scrollable-table-in-a-userform-4-columns-rows.89215/
Any constructive suggestions welcome!

Use table column header in VBA code for userform

I have built a table with a lot of columns. I would like to create a user form to show a majority of the information in the columns so I can hide the columns in the spreadsheet so there isn't so much to look at. A lot of columns can be overwhelming when looking at it. I know some of the most popular ways to write VBA so that data in the user form makes it into the table. However I noticed that if I ever needed to add a column I then have to edit the vba code to make sure the data still goes in the correct cells.
So my question is this. Is there a way to write the code using the table column headers so the code uses the header label as a point of reference instead of the column number?

Set specific height for all existing/new rows of a table

I have used Excel for quite some time now but only using traditional formulas. Now I am trying to create a more elaborated document for my business using VBA coding to expand my possibilities.
I have done some research and started practicing but found something that I can’t understand how to do yet.
I have a worksheet with a table on it. Since this is a fresh document it has nothing but the header and a blank row below it. What I always did when writing the information was type text in any of the columns that belong to the row immediately below the table (without actually inserting a new row myself). This creates a new row for the table where most of its format is kept, such as text size and formulas. However, I noticed that the row height doesn’t automatically change to that of the previous rows of the table, and changing it manually for each new row is very time consuming.
I would really appreciate it if anyone could share me the necessary Excel VBA code to fix this issue. I have thought of two possible approaches. The first one is a code that automatically sets all the rows of the table to a height of 20 (I want all rows to be the same size so no problem with that), supposing this would also affect new rows as I add them the way I mentioned. The second one would be a code that automatically sets every new row of the table to a size of 20. It doesn’t matter which one you choose, the easiest will be just fine. Thanks in advance.

How can I change the data source per tab instead of for the entire workbook?

I am in the process of upgrading an excel spreadsheet we use to manage timecards with for employees every week, we use OCR to process them. Currently our big spreadsheet, its a multi-tabbed spreadsheet where every employee in a given department can see everyone else's time that gets logged.
What I am in the process of doing is making individual spreadsheets inside folders for each employee to access, these folders will be locked so employees of each department cant go in and see other peoples timecards. One master spreadsheet with the use of index/match will pull the data into the master spreadsheet.
I have one page completed for one employee but I have about 20+ more employees to go and it took 6 hours to do one page, is there a way that I can change the spreadsheet connection of one individual page instead of the entire workbook?
here is an illustration:
i have hundreds of cells on one tab connected to this external spreadsheet
With the use of the "Edit Links" prompt I am aware that I can change data sources, but I want to edit the connection per tab not the entire workbook
i want to have one tab pulling from one data source, and the next tab pulling from another data source. I want to accomplish this without going into each cell and updating the link and spending a 40 hour work week on something so small.
How can I do this?
thanks!
using replace all, [ctrl + h] for windows, you can change any value within formulas on the entire page
works great

Resources