Human_doing
Board Regular
- Joined
- Feb 16, 2011
- Messages
- 137
Hi all,
Can anyone please provide any help with VBA code to help with this:
I am looking to be able to open a workbook (which will have a range of cells in column A with data, but this range will be different each time), and then have Excel automatically highlight from cell A2 (with A1 being the header) to the last cell with data in column A. Also have a message box pop up that asks how many cells are to be selected.
When the user selects 'Ok' in the message box, if for example the user has selected 3 cells, then 3 random cells are selected from the range and copied to sheet2 column A, with no duplicates,
Any help much appreciated,
Thanks
Can anyone please provide any help with VBA code to help with this:
I am looking to be able to open a workbook (which will have a range of cells in column A with data, but this range will be different each time), and then have Excel automatically highlight from cell A2 (with A1 being the header) to the last cell with data in column A. Also have a message box pop up that asks how many cells are to be selected.
When the user selects 'Ok' in the message box, if for example the user has selected 3 cells, then 3 random cells are selected from the range and copied to sheet2 column A, with no duplicates,
Any help much appreciated,
Thanks