vandangosnr
New Member
- Joined
- Dec 6, 2005
- Messages
- 22
I wonder if someone can help.
I'm running a spreadsheet in Excel 2003. What i want to do is transfer data via a macro to another workbook. At the moment I can do it but have to close the destination sheet after every transfer, becauase the macro i'm running opens the destination sheet every time. What i'm after is a bit of VBA code that will look to see if the destination sheet is open, then transfer in the data or if it is not open, open it and paste in my data.
I would be grateful to anyone who can shed some light on this for me.
I'm running a spreadsheet in Excel 2003. What i want to do is transfer data via a macro to another workbook. At the moment I can do it but have to close the destination sheet after every transfer, becauase the macro i'm running opens the destination sheet every time. What i'm after is a bit of VBA code that will look to see if the destination sheet is open, then transfer in the data or if it is not open, open it and paste in my data.
I would be grateful to anyone who can shed some light on this for me.