+ Reply to Thread
Results 1 to 2 of 2

Automatically open another worksheet. . .-Is this possible?

  1. #1
    Registered User
    Join Date
    02-02-2006
    Posts
    3

    Automatically open another worksheet. . .-Is this possible?

    I would like to have certain cells in my worksheet automatically open another worksheet when they are populated. In other words, if you enter an "X" in one cell, the other sheet automatically opens to a related cell that you have to populate to continue. Is this possible?

  2. #2
    Valued Forum Contributor
    Join Date
    12-16-2004
    Location
    Canada, Quebec
    Posts
    363
    Hi

    Not sure of your retirement. However if and x is being input in cell a1
    then file C:\amy1.xls will open. This should be amended to your specification.

    Private Sub Worksheet_Change(ByVal Target As Range)
    'if and x is being input in cell a1
    'then file C:\amy1.xls will open
    check_valu = Range("a1").Value
    If check_valu = "x" Or check_valu = "X" Then
    ChDir "C:\"
    Workbooks.Open Filename:="C:\amy1.xls"
    End If
    End Sub

+ 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