excel visual basic interaction HELP!!

BRUTUS51

New Member
Joined
Jun 11, 2015
Messages
6
Hi I'm new here and am searching for an answer to a simple problem that's been driving me nuts for about a week.
while I'm quite aware ActiveCell.Column doesn't exist I'm inventing it to help clarify my objective.
Hope someone out there can help end my frustration.

LD1 = ActiveCell.Column
LD2 = ActiveCell.Row
LD3 = (LD1 & LD2)
.Range( LD3) = 1.375
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
How about just

Code:
ActiveCell.Value = 1.375
 
Upvote 0
Thanks for the response but it's not so simple.
What I need to do is test for the current row then run a series of calculations based on columns in that row. then input the results of the calculations to LD3 which will be on the current row in an available column.
 
Upvote 0
Then perhaps ...

Code:
Cells(Activecell.Row, Columns.Count).End(xlToLeft).Offset(,1).Value = someResult
 
Last edited:
Upvote 0
What data type should someresult be? integer only returns a zero all others I've tried produce nothing.
Thanks for the help by the way.
 
Upvote 0
Double if its a numeric result that's not necessarily a whole number.
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,557
Latest member
richa mishra

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top