How do I activate my other book from the current book? I have a current workbook with dumb.xls and another book title like Tire.xls.I opened Tire.xls from dumb.xls using worksbooks.open filename:= "name of the file" . It becomes open, but the problem is that Im unable to make it work.
If I say that cells(2,24).value=24 puts these values ββin the dumb.xls cell, but I want this to be done by one Tire.xls.
activesheet.cells(2,24).value=24 puts them in Tire.xls. But how do I activate a book with a name? Do I need to open 3 to 4 Excel workbooks and perform an operation? How to activate a special book
I found this code on google
activeworkbook.worksheet("sheetname").activate ' but not working windows("sheetname").activate ' people on google suggested not to use
Not activated. I do not know how to make it work. Can someone tell me how to activate a specific book and a specific sheet of another book?
Example: I have niko.xls and niko_2.xls that were opened as books from the dumb.xls book, so there are only 3 books, and I need to activate the 2nd sheet of the niko_2.xls tutorial. How to do it? Can someone explain the syntax to me with this example? Thank you in advance
source share