Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default cells content

Hi:
The following code does not obtain the active cells content, what's wrong
ActiveCell.Value
Any help apreciated.
Sean.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default cells content

hi
nothing is wrong. you're not using it right.
assign the activecell value to a variable.....
dim r as range
set r = activecell.value
msgbox r

or
move the value.........
range("A3").select
range("R4").value = activecell.value 'A3 would be the activecell.

if this doesn't help, perhaps you could explain more about what you are
trying to do.

Regards
FSt1

"Sean Farrow" wrote:

Hi:
The following code does not obtain the active cells content, what's wrong
ActiveCell.Value
Any help apreciated.
Sean.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default cells content

On Sun, 21 Dec 2008 21:11:48 -0000, "Sean Farrow"
wrote:

Hi:
The following code does not obtain the active cells content, what's wrong
ActiveCell.Value
Any help apreciated.
Sean.


You are undoubtedly using it incorrectly, but just posting that line out of
context doesn't enable any specific advice.

It would also help if you indicated what happens when that line is activated,
and also the address and contents of the active cell.

Here is an example that might help:

===============
Sub foo()
Range("a1").Activate
MsgBox (ActiveCell.Value)
End Sub
==================

This will display in a message box the .value property of cell A1 on the active
sheet.
--ron
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
VBA to select all cells with content Colin Hayes Excel Discussion (Misc queries) 2 April 2nd 10 12:08 AM
Formula Content linked to other cells formula Content Flawlesgem Excel Discussion (Misc queries) 5 November 21st 08 11:06 AM
naming cells for their content Elfego Baca Excel Programming 3 March 24th 07 10:01 PM
exchange content of cells \jeremy via OfficeKB.com\ Excel Discussion (Misc queries) 1 July 6th 05 06:49 PM
AutoCoplete cells content MassimoM Excel Programming 1 January 12th 05 05:47 AM


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