Updating Edited Information in form with VBA

ismael9

New Member
Joined
Dec 27, 2021
Messages
7
Office Version
  1. 2021
Platform
  1. Windows
hi,

I have close to zero experience with VBA, however I understand excel relatively well.

I have followed a room booking system tutorial from pconline learning (which I have attached below). However, the "edit booking" macro/button was not covered and I was wondering if anyone had any idea what coding would be required?

In the "edit booking" button I currently have coding which I found online from another user from this website, however the code doesn't edit the data, it instead appears to simply clear the date inputted in the above textboxes whilst retaining the date in the separate sheet.

I would like the "edit booking" button to allow me to click on a cell with a booked user, look up his information (using the currently working "look up" button), and then change his data in the spreadsheet, for example move the user from room 5 to 10, or change his status from unconfirmed to confirmed.

I've attached images below and would be grateful for any help

1640631347652.png

1640631366282.png

1640631410894.png

1640631427069.png
 
Salam Ismael,
I need this room booking sheet, is it possible for you to provide me
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,214,891
Messages
6,122,101
Members
449,066
Latest member
Andyg666

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