Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Input number in cell and automatically goes to cell where that num

I want to know how one can enter a four digit number in one worksheet in the
workbook and then automatically go to that cell where that number inputted is
(in the same workbook).

any help is appreciated!

thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Input number in cell and automatically goes to cell where that num

Put this is Sheet2 worksheet code:

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A1")) Is Nothing Then
Exit Sub
Else
v = Range("A1").Value
Sheets("Sheet3").Activate
For Each r In ActiveSheet.UsedRange
If r.Value = v Then
r.Select
Exit Sub
End If
Next
End If
End Sub

Put your numbers in Sheet3. If you enter a value in cell A1 in Sheet2, you
will automatically be taken to the cell in Sheet3 that matches the value.
--
Gary's Student


"overmyhead" wrote:

I want to know how one can enter a four digit number in one worksheet in the
workbook and then automatically go to that cell where that number inputted is
(in the same workbook).

any help is appreciated!

thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
input 7 in a cell in EXCEL 2000, it will automatically change to 8 nobattery Excel Discussion (Misc queries) 1 October 19th 06 01:25 PM
Formatting to show 0 as first number in a cell when input triffidbook Excel Worksheet Functions 5 September 25th 06 02:56 AM
format cell to know number of another cell automatically Dee Excel Worksheet Functions 2 May 9th 06 05:42 PM
automatically update a number in cell when template opens Trampas Excel Discussion (Misc queries) 1 November 30th 05 04:51 PM
Can I make the number in one cell automatically appear elsewhere? holmeshouse Excel Worksheet Functions 2 August 17th 05 01:12 PM


All times are GMT +1. The time now is 05:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"