Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 9th, 2013, 09:14 AM
Registered User
 
Join Date: Jan 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Activecell.Offset

hello,

I'm trying to write some code that will check the cell colour of 11 adjacent cells in a row. Having done that the whole thing repeats with a do/loop a couple of thousand times down the active sheet.

I thought about using: ACTIVECELL.OFFSET(.....) but this option won't allow variable substitution in the form of: ACTIVECELL.OFFSET(0,X) where X increments from 1 to 11.

Not sure if I'm making this clear but if anyone manages to get their head around my problem and can come up with a solution, I'd be very much obliged.

Thanks, Mike





Similar Threads
Thread Thread Starter Forum Replies Last Post
activecell in the middle of the screen shah.manishkumar.v Excel VBA 1 November 17th, 2011 12:42 PM
Analyze if ActiveCell is part of specified Range babers09 Excel VBA 1 June 14th, 2007 09:12 PM
Activecell Address vemaju Excel VBA 2 January 4th, 2006 01:36 PM
HYPERLINK in activecell icayan Excel VBA 4 May 24th, 2005 12:22 PM
changing ActiveCell sedolphi Excel VBA 1 May 17th, 2004 02:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.