#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default ActiveCell

Is there away to get this to work

Activecell.Value = Offset(-1 , 9)

Thanks
--
Esau
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default ActiveCell

Assuming you're trying to assign the value one column to the left and
nine columns down from the active cell, one way:

With ActiveCell
.Value = .Offset(-1, 9).Value
End With

or, more verbosely:

ActiveCell.Value = ActiveCell.Offset(-1, 9).Value


In article ,
Esau wrote:

Is there away to get this to work

Activecell.Value = Offset(-1 , 9)

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default ActiveCell

Thanks they both work great
--
Esau


"JE McGimpsey" wrote:

Assuming you're trying to assign the value one column to the left and
nine columns down from the active cell, one way:

With ActiveCell
.Value = .Offset(-1, 9).Value
End With

or, more verbosely:

ActiveCell.Value = ActiveCell.Offset(-1, 9).Value


In article ,
Esau wrote:

Is there away to get this to work

Activecell.Value = Offset(-1 , 9)

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
If activecell.column = variable then activecell,offset (0,1) Battykoda via OfficeKB.com Excel Discussion (Misc queries) 1 October 2nd 07 08:05 PM
ActiveCell [email protected] Excel Programming 2 August 9th 06 01:42 PM
IF ACTIVECELL contains FIRSTROUNDKO via OfficeKB.com Excel Programming 4 May 3rd 06 05:17 PM
activecell slikity Excel Programming 7 December 13th 04 11:59 AM
Activecell value Shamsul Islam Excel Programming 5 April 30th 04 10:10 PM


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