ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   want to advanced to cell on the right but my code won't work (https://www.excelbanter.com/excel-programming/387484-want-advanced-cell-right-but-my-code-wont-work.html)

[email protected]

want to advanced to cell on the right but my code won't work
 
Hi

What my macro should do is move to the next cell to the right when the
current cell is occuiped.

sample of my data
A1 A2
C1


Bob Phillips

want to advanced to cell on the right but my code won't work
 
If ActiveCell.Value < "" Then
Activecell.Offset(0,1).Select
End If

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

wrote in message
ups.com...
Hi

What my macro should do is move to the next cell to the right when the
current cell is occuiped.

sample of my data
A1 A2
C1




[email protected]

want to advanced to cell on the right but my code won't work
 
On Apr 16, 6:04 pm, "Bob Phillips" wrote:
If ActiveCell.Value < "" Then
Activecell.Offset(0,1).Select
End If

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

wrote in message

ups.com...



Hi


What my macro should do is move to the next cell to the right when the
current cell is occuiped.


sample of my data
A1 A2
C1- Hide quoted text -


- Show quoted text -


Thank you for your fast reply, but this is not what i was looking for
also
i din get to finish typing the message,
i have recreated a new post
http://groups.google.com/group/micro...917c0de07bf77a
Maybe you can provide my pointers on why i can't get my code to work.

Thank you
kiwis



All times are GMT +1. The time now is 08:00 AM.

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