+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Can link workbook 1 to another workbook?

  1. #1
    Registered User
    Join Date
    02-10-2012
    Location
    Selangor, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    39

    Can link workbook 1 to another workbook?

    Hi all

    I'm trying to link from workbook to another workbook using Button (Form Control). For example, I have main.xls (workbook 1). In the workbook 1, I have Button (Form Control) want to click to show/activate another worksheet for example to show/activate personal.xls (workbook 2). How to do that? Can excel link like that?

    Thank you.

    Regard
    st3vi3
    Last edited by st3vi3; 02-22-2012 at 03:36 AM.

  2. #2
    Valued Forum Contributor gjlindn's Avatar
    Join Date
    08-01-2011
    Location
    Dodgeville, WI
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    369

    Re: Can link workbook 1 to another workbook?

    It can...maybe not exactly with a form control button itself, but with a little VBA coding sure. That's not really a link in the sense that we use the term in Excel; its more like a command or event.
    -Greg If this is helpful, pls click Star icon in lower left corner

  3. #3
    Registered User
    Join Date
    02-10-2012
    Location
    Selangor, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: Can link workbook 1 to another workbook?

    The code or command can be like this or not?
    "Workbooks.Open Filename:=..\personal.xls"

    I try use this code but got error.

  4. #4
    Registered User
    Join Date
    02-10-2012
    Location
    Selangor, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: Can link workbook 1 to another workbook?

    Already fix that! Thanks guys! [SOLVED]

  5. #5
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Can link workbook 1 to another workbook?

    hello..
    maybe

    Windows("personal.xls").Activate
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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