+ Reply to Thread
Results 1 to 6 of 6

Activate sheet name from other workbook

  1. #1
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Activate sheet name from other workbook

    Hello everyone, I have certain problem of activating sheet name of another workbook. Like I have value of in Book1 Sheet1 A1 of "Jun-10" on Book2 I have a worksheet named "Jun-10".I just want to select that particular worksheet..or select the other worksheet if i change the value on Book1. Thanks!

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Activate sheet name from other workbook

    Simple...in your code use this statement -
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Activate sheet name from other workbook

    You need to activate the other workbook first and then select the sheet you want.
    Good luck.

  4. #4
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Activate sheet name from other workbook

    hi again. I really appreciate your help.i didnt mentioned that the Book2 should be opened also through VBA code.hope you get my point.by then let say the book2.have content each sheet..should be copied back to book1.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Activate sheet name from other workbook

    Why dont you attach a sample of both book 1 & 2?

  6. #6
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Activate sheet name from other workbook

    here is the sample workbook..Book1 and Book2.on Book1.Sheet1 A1 has value and command button.Once the command button press it will open Book2 and selected the sheet name on Book1("Jun-12"),and the value inside sheet name Jun-12 Column A and B will be copied back to Book1 sheet1 column G and H.Thanks..
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1