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 / Programming / September 2007

Tip: Looking for answers? Try searching our database.

strange range access

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tom taol - 25 Sep 2007 06:23 GMT
Set r = Union([a2], [a4], [a9])
r.FormulaR1C1 = "=r[-1]c"
r.Value = r.Value

i want to chang result value of function of non continuous cells to
value....
Tim Williams - 25 Sep 2007 07:45 GMT
Sub Tester()
 Dim a As Range, r As Range

 Set r = Union([a2], [a4], [a9:b9])

 For Each a In r.Areas
   a.Value = a.Offset(-1, 0).Value
 Next a
End Sub

Tim

> Set r = Union([a2], [a4], [a9])
> r.FormulaR1C1 = "=r[-1]c"
[quoted text clipped - 4 lines]
>
> *** Sent via Developersdex http://www.developersdex.com ***
tom taol - 25 Sep 2007 08:06 GMT
Using of for loop, no, no...
I want to do once. express access
 
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.