+ Reply to Thread
Results 1 to 4 of 4

Number in a cell = number of list and jump on it

Hybrid View

  1. #1
    Registered User
    Join Date
    05-23-2014
    Posts
    10

    Number in a cell = number of list and jump on it

    Hello,
    I will try to describe what I'm looking for. I have this sheet with first page that counts number of characters through LEN function and I was wondering is there a way to set this like this. I will put some expression on first page, it will count number of characters and if that number is equal to the number in list name, jump on the sheet with that name+select everything+ctrl+c it+jump on first page again.
    For example: I copy paste word ''Tropic Passion'' to A1. In will count 14 characters in B1. And I have dozens of sheets named 0-20 and want it to jump on sheet named 14, select whole sheet, copy it and jump back to sheet one.
    Is it doable?

    Thanks in advance.

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

    Re: Number in a cell = number of list and jump on it

    Attach a sample workbook. Make sure there is just 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


    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

  3. #3
    Registered User
    Join Date
    05-23-2014
    Posts
    10

    Re: Number in a cell = number of list and jump on it

    Ok thanks a lot, sending SAMPLE of what I'm trying to accomplish.Sample.xlsx

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

    Re: Number in a cell = number of list and jump on it

    Copy the below code and do right click on sheet tab and select view code and paste it.

    Close the VBA window (Alt+Q to close VBA window) and return to that sheet and check.

    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim v As Variant
    If Not Intersect(Target, Range("A1")) Is Nothing Then
        v = Target.Offset(, 1).Value
        On Error Resume Next
            ThisWorkbook.Sheets(v).Range("A1").CurrentRegion.Copy
        On Error GoTo 0
    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)

Similar Threads

  1. [SOLVED] formula to auto delete number in dropdown list when number appears in another cell #2
    By ddevins in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-28-2014, 08:31 AM
  2. [SOLVED] formula to auto delete number in dropdown list when number appears in another cell
    By ddevins in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-28-2014, 04:54 AM
  3. Jump to a line number of the VBA code when there is an error
    By som3on3_10 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-17-2011, 11:53 PM
  4. Replies: 7
    Last Post: 12-18-2008, 07:34 PM
  5. Jump straight to specific row number 1,234,567 (within a Text File
    By Edmund in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-16-2006, 12:10 PM

Tags for this Thread

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