Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Absolute / Relative References

Hi

I'd like to start a process on 6 adjacent highlighted cells but "ActiveCell"
just changes the top left cell - how can I change this code to include all 6?

TIA

Tim

ActiveCell.Select
Selection.Font.Italic = True
With Selection.Borders(xlEdgeTop)
.LineStyle = xlDouble
.Weight = xlThick
.ColorIndex = xlAutomatic

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Absolute / Relative References

hi,

Range(activecell, activecell.offset(0,6)).select

FSt1

"Tim Mills" wrote:

Hi

I'd like to start a process on 6 adjacent highlighted cells but "ActiveCell"
just changes the top left cell - how can I change this code to include all 6?

TIA

Tim

ActiveCell.Select
Selection.Font.Italic = True
With Selection.Borders(xlEdgeTop)
.LineStyle = xlDouble
.Weight = xlThick
.ColorIndex = xlAutomatic

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Absolute / Relative References

Just remove the activecell.select statement.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Tim Mills" wrote in message
...
Hi

I'd like to start a process on 6 adjacent highlighted cells but

"ActiveCell"
just changes the top left cell - how can I change this code to include

all 6?

TIA

Tim

ActiveCell.Select
Selection.Font.Italic = True
With Selection.Borders(xlEdgeTop)
.LineStyle = xlDouble
.Weight = xlThick
.ColorIndex = xlAutomatic



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
absolute & relative references zzulu4 Excel Discussion (Misc queries) 2 April 1st 09 05:54 PM
Help with converting a block of cells with Absolute and mixed references to relative references Vulcan Excel Worksheet Functions 3 December 13th 07 11:43 PM
how to switch between relative and absolute references KeKe New Users to Excel 2 June 9th 06 05:23 PM
Check relative / absolute references oli Excel Programming 1 July 5th 05 01:22 PM
Absolute vs. Relative Cell References ChrisR Excel Programming 2 February 9th 05 11:16 PM


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