another rachel
Board Regular
- Joined
- May 27, 2002
- Messages
- 80
Hello
I have started writing (well, to be honest, slightly adjusting a macro that was previously posted) to compare two sets of data - and have asked the user to select the two worksheets that are to be compared.
My code defines them as:
currentdata
newdata
After completing tasks in both spreadsheets I need to make sure that the currentdata worksheet is the active worksheet.
My attempts so far...
worksheet (currentdata).activate
workbook (currentdata).activate
have failed miserably and any assistance/hits/ideas/suggestions would be most appreciated.
Thank you.
I have started writing (well, to be honest, slightly adjusting a macro that was previously posted) to compare two sets of data - and have asked the user to select the two worksheets that are to be compared.
My code defines them as:
currentdata
newdata
After completing tasks in both spreadsheets I need to make sure that the currentdata worksheet is the active worksheet.
My attempts so far...
worksheet (currentdata).activate
workbook (currentdata).activate
have failed miserably and any assistance/hits/ideas/suggestions would be most appreciated.
Thank you.