LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Please help! Macro to change cell contents based on cell to the left

Hi Peter and Bernie,
thank you! I posted a reply to Bernie 5 or 6 hours ago, so hopefully
it will post soon. It has my dream code a little better articulated.

As soon as I get to work tomorrow, I will try out Peter's code. I feel
much closer to getting it working, though.

Peter, in this line of code:

If c.Offset(0, -1) = ":"

How would I check to see if any part of the cell contained a colon?
That is, not equal to ":" but contained ":"? For example, "nice:guys"
and "thank:you" would also pass the test and continue on to the "then"
statement?

I am so excited! Thanks again,
Jennifer.
 
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
How do I change contents of a cell based on drop down list selecte yateswdy Excel Worksheet Functions 2 October 21st 09 03:18 AM
how to change color of cell based on contents of cell robert wake Excel Discussion (Misc queries) 3 February 24th 09 08:04 PM
How to change cell contents based on date? tgcali Excel Discussion (Misc queries) 3 November 17th 08 08:06 PM
macro with input msg based on cell contents Janelle S[_2_] Excel Discussion (Misc queries) 2 February 9th 08 11:47 PM
Change cell color based on contents bre Excel Discussion (Misc queries) 2 November 10th 05 12:39 AM


All times are GMT +1. The time now is 10:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"