Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Activate one Book then another Book

Hi to all!!!

I have 3 woorkbook opened.
Book1 , Book_cup , Book_sec.
I need to activate Book_cup from Book1.In to Book1 I need to paste all thata
from sheet1 from Book_cup and then insert vlookup ( look for data from
Book_sec), formula in cell A4.
Then I need activate Book_sec.In Book_sec I need to formated column B in to
number on sheet2 i sheet3.

Any help will be appreciated


Sorry for bad englich!!!
regards
lopina


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Activate one Book then another Book

to activate another workbook use

workbooks("Book_cup .xls").activate

to copy a worksheet from one workbook to another you need to use .copy with
either after: or befo like this (you don't need to activate)

workbooks("Book_cup .xls").sheets("Sheet1").copy _
after:=Thisworkbook.sheets(Thisworkbook.sheets.cou nt)




"lopina" wrote:

Hi to all!!!

I have 3 woorkbook opened.
Book1 , Book_cup , Book_sec.
I need to activate Book_cup from Book1.In to Book1 I need to paste all thata
from sheet1 from Book_cup and then insert vlookup ( look for data from
Book_sec), formula in cell A4.
Then I need activate Book_sec.In Book_sec I need to formated column B in to
number on sheet2 i sheet3.

Any help will be appreciated


Sorry for bad englich!!!
regards
lopina



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy worksheets to new book without linking to original book Lori Excel Discussion (Misc queries) 2 March 4th 09 04:46 PM
'BeforeClose' code problems:book won't close if more than one book is open Ed from AZ Excel Programming 0 September 18th 07 03:59 PM
Worksheet Activate event if only one sheet in book KD Trader Excel Programming 3 March 14th 07 03:20 PM
search all sheets in book to find value and activate sheet with va Nigel Excel Programming 3 November 22nd 05 08:43 AM
Open book, check for macros, close book Robin Hammond[_2_] Excel Programming 5 March 31st 05 06:09 PM


All times are GMT +1. The time now is 04:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"