M
MFRASER
How do I access a sheet in a different workbok?
Say for example my excel project does the following
dim DataWorkBook as Workbook
dim currentWorkBook as Workbook
Set currentWorkBook = ActiveWorkbook
Set DataWorkBook = Application.Workbooks.Add
DataWorkBook.Name = DataSheetTitle
currentWorkBook.Activate
'I want to access a cell or range inside of DataworkBook
Say for example my excel project does the following
dim DataWorkBook as Workbook
dim currentWorkBook as Workbook
Set currentWorkBook = ActiveWorkbook
Set DataWorkBook = Application.Workbooks.Add
DataWorkBook.Name = DataSheetTitle
currentWorkBook.Activate
'I want to access a cell or range inside of DataworkBook