Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-08-2021, 04:53 AM
gmayor's Avatar
gmayor gmayor is offline How can i upload values of Non-Empty Cells Reference of a Table in ComboBox Windows 10 How can i upload values of Non-Empty Cells Reference of a Table in ComboBox Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

If you want the empty cells listing then



Code:
For i = 1 To .Cells.Count
            If Len(.Cells(i).Range) = 2 Then
                ComboBox1.AddItem .Cells(i).RowIndex & ", " & .Cells(i).ColumnIndex
            End If
Next i
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #2  
Old 03-08-2021, 10:00 PM
SamDsouza SamDsouza is offline How can i upload values of Non-Empty Cells Reference of a Table in ComboBox Windows 10 How can i upload values of Non-Empty Cells Reference of a Table in ComboBox Office 2013
Advanced Beginner
How can i upload values of Non-Empty Cells Reference of a Table in ComboBox
 
Join Date: Aug 2019
Posts: 71
SamDsouza is on a distinguished road
Default

Thank you Sir,


What i take from your posts of this thread is that minimum length of Cell of Table is 2.
Any specific reason for MINIMUM Len of Cell of a Table = 2

Also I need to take care whenever i have to get Len of Text in a cell will always be as LEN(.Cell(1,1).Range.Text)- 2

This is RESOLVED


SamD
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i upload values of Non-Empty Cells Reference of a Table in ComboBox How to SUM the values only if the particular cells are not empty? Learner7 Excel 3 11-10-2020 02:47 AM
auto progress number evenly between two values across empty cells ? DBenz Excel 4 03-28-2018 04:46 AM
If a2 is not empty, color empty cells in b2:af2 turkanet Excel 2 08-20-2017 11:00 PM
How can i upload values of Non-Empty Cells Reference of a Table in ComboBox Microsoft Excel 12.0 Object Library reference upload chamdan Project 2 04-21-2014 06:30 AM
Apparently empty (blank) cells aren't empty daymaker Excel 3 03-08-2012 03:41 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:43 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