Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default moving active cell on another sheet

Is it possible to change position of activecell on another sheet.

Tried the obvious! - whilst on "Sheet1"

Sub movecell()
Sheets("Sheet2").Range("a1").Select
End Sub


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default moving active cell on another sheet

Application.ScreenUpdating = False
Sheets("Sheet2").Activate
Sheets("Sheet2").Range("a1").Select
Sheets("Sheet1").Activate
Application.ScreenUpdating = True


If this post helps click Yes
---------------
Jacob Skaria


"sunilpatel" wrote:

Is it possible to change position of activecell on another sheet.

Tried the obvious! - whilst on "Sheet1"

Sub movecell()
Sheets("Sheet2").Range("a1").Select
End Sub



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default moving active cell on another sheet

Turn screenupdating to false,
change sheets
activate the cell
go back to where you started
turn screenupdating to true

dim CurSel as range
dim ActCell as range
application.screenupdating = false
set cursel = selection
set actcell = activecell
with worksheets("sheet9999")
.select
.range("a1").select
end with
application.goto cursel
actcell.activate
application.screenupdating = true

(Untested, uncompiled. watch for typos.)


sunilpatel wrote:

Is it possible to change position of activecell on another sheet.

Tried the obvious! - whilst on "Sheet1"

Sub movecell()
Sheets("Sheet2").Range("a1").Select
End Sub


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default moving active cell on another sheet

The ActiveCell and/or Selection only applies to the active sheet. Exactly
why do you want to do this? If you really need the active cell at a certain
point on a specific sheet when the sheet is made active, you could use the
sheet's Activate event to do that selection (but I'm thinking you are asking
this question for a different reason, hence my question to you above).

--
Rick (MVP - Excel)


"sunilpatel" wrote in message
...
Is it possible to change position of activecell on another sheet.

Tried the obvious! - whilst on "Sheet1"

Sub movecell()
Sheets("Sheet2").Range("a1").Select
End Sub


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default moving active cell on another sheet

Dear Sunil

Just curious to know what you are looking for.

What ever is seen on screen is selectable. What you are asking for is to
touch something which is not tangible. Hope you understood.....

If this post helps click Yes
---------------
Jacob Skaria


"sunilpatel" wrote:

Is it possible to change position of activecell on another sheet.

Tried the obvious! - whilst on "Sheet1"

Sub movecell()
Sheets("Sheet2").Range("a1").Select
End Sub



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
Copy from active sheet and paste into new sheet using info from cell in active Ingve Excel Programming 3 January 23rd 06 09:57 PM
Moving left/right from active cell Kurt Barr[_2_] Excel Programming 3 January 4th 06 05:30 PM
Need Help With Moving Active Cell zero635[_5_] Excel Programming 2 July 19th 05 02:36 AM
Moving active cell after copy T Pitts Excel Programming 6 October 17th 03 08:16 PM
Moving active cell Scott Excel Programming 1 July 31st 03 05:52 PM


All times are GMT +1. The time now is 01:39 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"