bony_tony
12/12/2006 11:34:00 PM
This macro will take to the next workbook;
Sub Switch_workbooks()
'
' Switch_workbooks Macro
' Macro recorded 13/12/2006 by Tony Gardner
'
ActiveWindow.ActivateNext
End Sub
If you press Ctrl-Tab whilst recording a macro, it will write this
exact code for you
Tony
Bundychik wrote:
> I am a beginner to visual basic and need to write a macro to swap between two
> workbooks without mentioning any filenames. Can anyone help?