+ Reply to Thread
Results 1 to 2 of 2

function to add a information to a other sheet

  1. #1
    Registered User
    Join Date
    09-05-2013
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    32

    function to add a information to a other sheet

    Hello ^^

    i hope you understand my explanations.

    I have one sheet. It Shows an overview about contracts.

    In the other Sheets there are all the contracts. The sheet are called Contract1, Contract2, Contract3, Contract4 and so on.

    The Overviewsheets Looks like this

    Contract Number Name

    Contract 1 Miller
    Contract 2 Smith
    Contract 3 Grimm
    Contract 4 Dilan

    .......


    With the help of the following VBA I can jump to the serveral contracts.



    Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
    On Error GoTo Ende
    Sheets(Target.Value).Select
    Cancel = True
    Ende:
    On Error GoTo 0
    End Sub

    The Problem is that the Name in the Sheets is missing.

    I want to put the Name there.


    Is there any funciton like

    + If (sheet 1 is contract, then Name is miller, put it in sheet contract 1 in A1)

    I hope you understood my explanations.

    greetz Benjamin
    Last edited by benjamin.grimm; 09-10-2013 at 06:32 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Connections

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

    Please attach a sample workbook with enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Note: Please don't attach documents containing confidential data like (address, telephone, ID#s, etc.).


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Removing connections
    By Amdi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-30-2013, 06:05 AM
  2. Replies: 2
    Last Post: 05-24-2012, 08:43 AM
  3. Pivot connections on Mac
    By delyan.peyankov in forum Excel General
    Replies: 0
    Last Post: 04-18-2012, 07:46 AM
  4. SQL connections
    By mholman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2009, 03:46 PM
  5. remote connections
    By John A Grandy in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-25-2006, 08:10 PM

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