I wrote a macro that will set me so far ahead of my co-workers (in terms of efficiency) that it would it would truly baffle them and my boss as to how I was able to accomplish so much so fast. Seeing the looks on their faces would be priceless. I started writing this macro about 4 months ago, and have put over 40 hours of work into it. I figured that I would get it to work, and then make it so that anyone could use it and it would be user friendly to myself as well. As it is, I am about to give up. The macro works. It does about 3 hours worth of work (work I do twice a week) in about 0.8 seconds, but the user friendly part has had me stumped for two weeks. Without being user friendly, it offers no benefit to my company, and while it still benefits me, I have to do repetitive time consuming tasks before I run the macro. To get my macro to work I must copy a massive spreadsheet to the workbook with the macro (I cannot use the personal macro workbook because of company rules), then activate the sheet with that spreadsheet, then run the macro, then remove the spread sheet (the amount of money that would be lost if I did not delete the spreadsheet and someone got a hold of it instead one that had been updated would be phenomenal). Then, if the spreadsheet changes (which it does all the time), I must do it all again, and re-run the macro.
I really, really, really want to know how to write code that would
step 1) ask the user to select either a range or a workbook
step 2) import the cell data from that workbook into an array
step 3) input that data (after it is manipulated of course) into a worksheet (with a known name) that is in the workbook with the macro button.
If someone could enter the value "test" into cell "A1" and write a macro (in a different workbook, and if you want to really be awesome a different instance of excel) that would ask the user to select that cell, and then input the value into cell "B2" of the workbook with the macro, I would be incredibly thankful...thanks for reading.
I really, really, really want to know how to write code that would
step 1) ask the user to select either a range or a workbook
step 2) import the cell data from that workbook into an array
step 3) input that data (after it is manipulated of course) into a worksheet (with a known name) that is in the workbook with the macro button.
If someone could enter the value "test" into cell "A1" and write a macro (in a different workbook, and if you want to really be awesome a different instance of excel) that would ask the user to select that cell, and then input the value into cell "B2" of the workbook with the macro, I would be incredibly thankful...thanks for reading.