![]() |
![]() |
|
|||||||
| 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 |
|
Board Regular
Join Date: Feb 2002
Posts: 117
|
Hi-
If ActiveCell.Offset(0, MsgBox "It works" End If Im trying to see if a cell located 8 cells to the left of a list has any text in it, and if it does to display a msgbox. My code does not work, any ideas?? |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Winnipeg
Posts: 2,330
|
Quote:
Regards, _________________ Barrie Davidson My Excel Web Page [ This Message was edited by: Barrie Davidson on 2002-03-25 09:45 ] |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Posts: 117
|
Guess what, it works Barrie, thanks!!!
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Posts: 117
|
Barrie- One follow up, Using this idea of a code:
If Application.WorksheetFunction.IsText _ (ActiveCell.Offset(0, TextBox1.Text in Range("an:an")).Delete End If Im trying to delete a name in row "AN" with the name in textbox1. Inother words when activecell.offset(0, Thanks |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|