Transferring Data from a Userform to a spreadsheet

stirlingmw

Board Regular
Joined
Feb 18, 2013
Messages
75
I think I am being a little over enthusiastic here and might be out of my depth. I asked a similar question earlier, but since then I have been trawling the internet for easier ways to achieve the aim and believe I may be onto something with this query.
I have designed a spreadsheet which holds employee info, actually I have 12 (1 for each month).
FileDownloadHandler.ashx

At present I use these monthly spreadsheets to keep track of employees whereabouts. At the moment I have been adding different activities by colour blocking the relevant dates which can be time consuming and sometimes I get the wrong colours, so on and so forth.
I have designed a User Form to help with this data input.
FileDownloadHandler.ashx

At present I am unsure how to transpose this info from the User Form to the Spreadsheet (the above picture is a screen shot of a test run of the macro) so that it colour blocks the correct dates with the correct colours, and if possible insert the information annotated in the "Notes" box of the User form as well as (if possible) a check to say if they are able to attend sport.
Another query is how would I get the info to be annotated if the activity crosses over into another month.
Thanks
Steve
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
One thought . . . you could click on the actual cell of an employee that you want to update, which would display the userform. That way you can know the position on the spreadsheet from which your wanting to revise. The spreadsheet cell location can then be used when transferring data from the userform back to the spreadsheet. Not sure if I'm helping, but food for thought.
 
Upvote 0
Great idea do you think this would this work if I selected multiple cells. Do you have any idea what the coding would be?
 
Upvote 0

Forum statistics

Threads
1,222,194
Messages
6,164,508
Members
451,900
Latest member
lamski

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