Created
          October 13, 2014 08:32 
        
      - 
      
- 
        Save thoriqmacto/09ff93888969967f97a2 to your computer and use it in GitHub Desktop. 
    find the last column used in a particular row
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 'If you want to find the last column used in a particular row you can use: | |
| Dim lColumn As Long | |
| lColumn = ws.Cells(1, Columns.Count).End(xlToLeft).Column | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment