Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-02-2018, 04:51 AM
Homegrownandy Homegrownandy is offline count only rows with a value other than 0 Windows 10 count only rows with a value other than 0 Office 2016
Novice
count only rows with a value other than 0
 
Join Date: Jul 2018
Posts: 14
Homegrownandy is on a distinguished road
Default count only rows with a value other than 0

Im using code to copy rows from excel and paste them into a word table. The problem is its including zero (0) value cells as they are from a formula.




In the advanced options for the worksheet I have turned off the option to display the 0 but still it will copy these cells.


To count i am using this code



Code:
lngLastRow = Sheets("RISKS").Range("A65535").End(xlUp).Row
If anyone has a sugestion i would appreciate it.

its worth mentioning that behind the value its a formula.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find duplicate rows in a huge excel file containing 500000 rows Stc25234 Excel Programming 2 06-23-2017 10:51 AM
Nested tables. Count rows NevilleT Word VBA 9 05-10-2017 05:22 AM
count only rows with a value other than 0 Getting the Count formula to count all rows Jennifer Murphy Word Tables 11 08-23-2016 09:37 PM
simple way to count rows in a table? bkcell Word 4 03-09-2015 09:06 PM
count only rows with a value other than 0 Count rows and add blank rows accordingly Hoochtheseal Word VBA 1 01-29-2013 09:23 PM

Other Forums: Access Forums

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