PC Review


Reply
Thread Tools Rate Thread

cells content

 
 
Sean Farrow
Guest
Posts: n/a
 
      21st Dec 2008
Hi:
The following code does not obtain the active cells content, what's wrong
ActiveCell.Value
Any help apreciated.
Sean.


 
Reply With Quote
 
 
 
 
FSt1
Guest
Posts: n/a
 
      21st Dec 2008
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.
>
>
>

 
Reply With Quote
 
Ron Rosenfeld
Guest
Posts: n/a
 
      21st Dec 2008
On Sun, 21 Dec 2008 21:11:48 -0000, "Sean Farrow"
<(E-Mail Removed)> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Content linked to other cells formula Content Flawlesgem Microsoft Excel Misc 5 21st Nov 2008 11:06 AM
Combining Content of two cells FormulaQuestioner Microsoft Excel Misc 2 23rd Sep 2008 02:49 AM
Re: Merge content of cells Dave Peterson Microsoft Excel Worksheet Functions 0 4th Jan 2007 03:29 PM
Need to format cells based on content of itself and other cells druk Microsoft Excel Programming 4 17th Mar 2004 11:30 PM
sum based on content of other cells Gumby Microsoft Excel Misc 3 29th Sep 2003 06:48 PM


Features
 

Advertising
 

Newsgroups
 


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