Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sfar007
 
Posts: n/a
Default Moving automatically from one cell to another


Hi,

I would like to know if there is a function that enables the automatic
movement from one cell to another. For example, i have a function in
B1 that works on the value of A1. After inserting the value in A1, I
want to move automatically from A1 to C1 or to any other cell.

Thanks for your assistance.

Regards

Stefan


--
sfar007
------------------------------------------------------------------------
sfar007's Profile: http://www.excelforum.com/member.php...o&userid=35131
View this thread: http://www.excelforum.com/showthread...hreadid=549657

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bearacade
 
Posts: n/a
Default Moving automatically from one cell to another


Try this, it isn't perfect...

Sub auto_open()

ThisWorkbook.Worksheets("Sheet1").OnEntry = "DidCellsChange"

End Sub


Sub DidCellsChange()
Dim KeyCells As String

KeyCells = "A1"

If Not Application.Intersect(ActiveCell, Range(KeyCells)) _
Is Nothing Then KeyCellsChanged

End Sub

Sub KeyCellsChanged()

Range("C1").Select

End Sub


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=549657

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bearacade
 
Posts: n/a
Default Moving automatically from one cell to another


The problem with that macro is that it selects the cell before the Enter
or Tab, so it actually go to 1 offset of the cell you want them to go
(in this case, if they tab, it goes to D1, if they Enter, it goes to
C2).

Perhaps someone can shred some light on it


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=549657

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
excelent
 
Posts: n/a
Default Moving automatically from one cell to another

Put in sheet's kodewindow

Private Sub Worksheet_Change(ByVal Target As Range)
If ActiveCell = Range("a2") Then ActiveCell.Offset(-1, 2).Select
End Sub

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bearacade
 
Posts: n/a
Default Moving automatically from one cell to another


Nice and clean, Nice =)


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=549657



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sfar007
 
Posts: n/a
Default Moving automatically from one cell to another


thanks for your help

Stefan


--
sfar007
------------------------------------------------------------------------
sfar007's Profile: http://www.excelforum.com/member.php...o&userid=35131
View this thread: http://www.excelforum.com/showthread...hreadid=549657

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
Slow Moving From Cell to Cell rlaf Excel Discussion (Misc queries) 2 April 21st 06 07:13 PM
Row Expansion Susan Excel Worksheet Functions 11 February 28th 06 07:15 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Edit cell automatically takes you to cell cgrant Excel Worksheet Functions 1 May 20th 05 04:30 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 01:06 AM.

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"