Solved

Excel

Posted on 2014-04-11
3
94 Views
Last Modified: 2014-04-11
I need to use some vb code to select just the filled cells in column c from c2 down (attached sheet) but this column will hold variable numbers of vales
Book11.xls
0
Comment
Question by:doctorbill
  • 2
3 Comments
 
LVL 49

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 39993709
Hi,

pls try

Range(Range("C2"), Range("C" & Cells.Rows.Count).End(xlUp)).Select

Open in new window

Regards
0
 

Author Comment

by:doctorbill
ID: 39993732
excellent - thanks
0
 

Author Closing Comment

by:doctorbill
ID: 39993733
solved
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question