Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2016, 08:40 AM
KunleExcel KunleExcel is offline Get next non empty cell from a specific list with VBA Windows 8 Get next non empty cell from a specific list with VBA Office 2010 32bit
Novice
 
Join Date: Jun 2016
Location: Nigeria
Posts: 17
KunleExcel is on a distinguished road
Default

Sub SelectLastName()

Dim ListRange As Range

Set ListRange = Range("A1:A7")

Range("B1") = ListRange.End(xlDown).Value

ListRange.End(xlUp).Select
End Sub
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Data validation,force cell to be filed with number if respective cell is not empty nicholes Excel Programming 0 08-01-2015 09:08 AM
Get next non empty cell from a specific list with VBA If id cell range is empty then should not allow to fill any other cell ubns Excel Programming 2 04-12-2015 06:31 AM
Get next non empty cell from a specific list with VBA Delete empty cell and shift up Linh Word Tables 1 09-21-2014 01:52 PM
Auto add a list cell if the last list cell is filled tasuooooo Excel 1 07-31-2012 08:40 PM

Other Forums: Access Forums

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