Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2007

Tip: Looking for answers? Try searching our database.

Cell QA for Bob Phillips

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RoadKing - 08 Nov 2007 21:06 GMT
Good afternoon Bob:

In reference to your QA: (Which sheet was the active sheet when you
right-clicked on the tab? It should have been Data Sheet).

Yes, I did as you said, but I am not sure I placed the text string in the
right place. I pasted it in View Code on the blank area to the right of
"Project / Properties" section but for some reason it is not moving the text
from "Data Sheet" to the "Activity Sheet".

Is it possible to communicate with you directly so I can get this worked
out?

Thanks
John
-------------------------------------------------------------------------
>YOUR CODE MODIFIED:
Private Sub Worksheet_Change(ByVal Target As Range)
Const WS_RANGE As String = "B1:B10" '<== change to suit
On Error GoTo ws_exit
Application.EnableEvents = False
If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then
With Target
Worksheets("Activity Report").Range("C1").Value = .Value
End With
End If
ws_exit:
Application.EnableEvents = True
End Sub
-----------------------------------------------------------------------------
Don Guillett - 08 Nov 2007 22:38 GMT
In case Bob is not available. You should have done exactly like this
right click the sheet tab of the sheet where you want the code
view code
copy/paste the entire macro into the blank space provided.

Now if you change any cell in the b1:b10 range the value in that cell will
be sent to Worksheets("Activity Report").Range("C1")

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> Good afternoon Bob:
>
[quoted text clipped - 26 lines]
> End Sub
> -----------------------------------------------------------------------------
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.