ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   If Value of active cell (https://www.excelbanter.com/excel-programming/356793-if-value-active-cell.html)

FIRSTROUNDKO via OfficeKB.com

If Value of active cell
 
Hi,

Is there line/s of code like

if activecell = "" then go here
if not continue code

Thanks

Darren

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200603/1

Ardus Petus

If Value of active cell
 
if Activecell.Value = "" then
do something
else
do something else
endif

HTH
--
AP

"FIRSTROUNDKO via OfficeKB.com" <u15639@uwe a écrit dans le message de
news:5da39bf08fb67@uwe...
Hi,

Is there line/s of code like

if activecell = "" then go here
if not continue code

Thanks

Darren

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200603/1




Martin

If Value of active cell
 
If ActiveCell.Value = "" Then
[code if true]
ElseIf [another condition if you like] Then
[code if true]
Else
[code if false]
End If


"FIRSTROUNDKO via OfficeKB.com" wrote:

Hi,

Is there line/s of code like

if activecell = "" then go here
if not continue code

Thanks

Darren

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/excel-programming/200603/1


FIRSTROUNDKO via OfficeKB.com

If Value of active cell
 
AP,

Thanks just perfect

Darren

Ardus Petus wrote:
if Activecell.Value = "" then
do something
else
do something else
endif

HTH
--
AP

Hi,

[quoted text clipped - 6 lines]

Darren


--
Message posted via http://www.officekb.com


All times are GMT +1. The time now is 01:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com