Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

vbamacro

ResolvedVersion 2010

Jay has attended:
Excel Intermediate course
Excel Advanced course

VBA/Macro

Hi,

Wondering if someone can help me.

I have a Userform where i have duplicated a certain row into 2.

I then used this text to try and come up with what i need.

Selection.Offset(1, 0).Columns(8).Value = (Columns(8).Value / Columns(6).Value) * Me.txtQuantity

So in my head the Offset is Selecting both the rows (my previous and duplicate). Then in Column 8 the value i would like to divide by Column 6 Value then i am multiplying then number by the number i put into the User form, and this number will be repersented in Column 8.

But it does not like this, any help?

regards

RE: VBA/Macro

dont worry,

i have done it

Excel tip:

Random Numbers

Type =RAND()*200 to generate a number between 1 and 200.
Use the fill handle to drag down and populate as many cells as you'd like with random numbers.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.