Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2017, 09:26 AM
NoSparks NoSparks is offline Struggling with this one. In-line Cell formatting again Windows 7 64bit Struggling with this one. In-line Cell formatting again Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default


That's interesting...

What shows at the bottom of the drop down isn't blank,
what shows in the formula bar is the single quote
doing a len() calculation of the cell gives zero
and running this little code I use to see what's actually in a cell returns nothing
Code:
Sub CheckOfCharacters()
    Dim i As Integer
    Dim str As String

str = ActiveCell.Value

    For i = 1 To Len(str)
        Debug.Print Mid(str, i, 1) & "  =  " & Asc(Mid(str, i, 1))
    Next

End Sub
I guess the work around would be to put your list into a column somewhere and in the validation for the list specify the range plus the cell on the next row which would be empty.
Reply With Quote
  #2  
Old 02-16-2017, 10:02 AM
TJMorgan TJMorgan is offline Struggling with this one. In-line Cell formatting again Windows 10 Struggling with this one. In-line Cell formatting again Office 2013
Novice
Struggling with this one. In-line Cell formatting again
 
Join Date: Feb 2017
Posts: 8
TJMorgan is on a distinguished road
Default

Okay - see where you're going. However, ignore the highlighted cell on the screen grab - my error. The cell on the right of it - above the two figures, is the one I want to format to change the text colour to grey in A32. No figures in D32 - text grey on A32. Figures in D32, text returns to black in A32. There must be a way to do it - I just can't see it!
Reply With Quote
Reply

Tags
conditional formatting, drop down menu, if formatting



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting unprotected cell in protected w/s makes the cell locked? tango356 Excel 2 01-23-2017 02:13 PM
Pasting text from Excel cell into word without creating a table, and keeping the in-cell formatting hanvyj Excel Programming 0 08-28-2015 01:15 AM
Struggling with this one. In-line Cell formatting again Question re: Conditional formatting (cell occurs after another cell) Saywarder Excel 1 04-20-2015 11:29 AM
Conditional Cell Formatting: Alternating Cell Checks corbott Excel 4 12-16-2014 01:51 PM
How can I fill cell color starting from Cell D5 using Conditional formatting instead Learner7 Excel 0 07-08-2010 05:50 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:58 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft