Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 09-19-2018, 07:58 PM
trevorc trevorc is offline Return nameof Left column in current view Windows 7 32bit Return nameof Left column in current view Office 2013
Competent Performer
Return nameof Left column in current view
 
Join Date: Jan 2017
Posts: 173
trevorc will become famous soon enoughtrevorc will become famous soon enough
Default

Thanks again,
But after copying your code as is nothing happened, I remove the on error line and it fails on...
Code:
 For Each oName In ActiveWorkbook.Names
   Set oRng = Range(oName.Name)
hovering over range, it shows the oname.name = <method 'range' of "object_global' failed>
hovering over oname shows it as oName.Name = "_xlfn.COUNTIFS"
oRng = nothing

perhaps oName is not pickup any names in the Activewookbook.Names
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Picture attached. Need one column to return sum of another column. IRHSAM Excel 3 11-18-2017 01:21 AM
Return nameof Left column in current view Cursor Will Not Return to Left Margin danpbphoto Word 1 06-25-2015 07:43 PM
Return Sum value of one column from cells not blank in another column zulugandalf Excel 3 08-14-2014 03:37 AM
Return nameof Left column in current view Need to search a column for a macth and return a result from a third column pdfaust Excel 2 02-03-2011 03:02 PM
Return nameof Left column in current view How to return to where you left off? Shift+F5 not working. WaltR Word 2 12-24-2010 11:33 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:29 PM.


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