PC Review


Reply
Thread Tools Rate Thread

Activate one Book then another Book

 
 
lopina
Guest
Posts: n/a
 
      6th Jan 2008
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 With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      6th Jan 2008
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 before: like this (you don't need to activate)

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




"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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
dialog box to activate address book for email is grayed out and n. EchoAlpha Microsoft Outlook Contacts 1 2nd Mar 2010 11:17 AM
Unable to activate address book Mary Microsoft Outlook Discussion 1 3rd Nov 2008 03:06 AM
Activate macro in another book Steve Wallis Microsoft Excel Programming 2 7th Jul 2008 10:08 AM
Worksheet Activate event if only one sheet in book KD Trader Microsoft Excel Programming 3 14th Mar 2007 03:20 PM
search all sheets in book to find value and activate sheet with va =?Utf-8?B?TmlnZWw=?= Microsoft Excel Programming 3 22nd Nov 2005 08:43 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:37 PM.