![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Christchurch New Zealand
Posts: 1,030
|
Need Some code to select the next empty cell on a page for example
range("a1").select 'where a2 is the next avaliable cell then a3 and so on? |
|
|
|
|
|
#2 | |
|
Guest
Posts: n/a
|
Quote:
Dim MTCell as Range for each MTcell in Range("a1:A10") If ActiveCell = Not Empty Then (do your thing here) End If Next |
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Brisbane, Down Under
Posts: 533
|
sorry that was me - forgot to login
|
|
|
|
|
|
#4 | |
|
Guest
Posts: n/a
|
Quote:
Dim cell As Range, rng As Range Set rng = Columns(1).SpecialCells(xlCellTypeBlanks) For Each cell In rng MsgBox cell.Address Next |
|
|
|
|
#5 | ||
|
Guest
Posts: n/a
|
Quote:
|
||
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|