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

STL - Formerly Best Training Solutions Through Learning
TrustPilot
Excellent
Request Callback We will call you back
0207 987 3777 Call for assistance
Your Basket Basket is empty
vba intro

ResolvedVersion 2007

Theodora has attended:
Excel Advanced course
Excel VBA Intro Intermediate course

VBA intro

on the course, we were given a formula to work out a calculation on a particular cell. How do I replicated this formula to work on all other cells/

RE: VBA intro

Hi Theodora

Thanks for your question

The easiest solution would be to simply copy down the formula down once you have inserted it into the cell

The following line of code should work OK

Range("A1").AutoFill Destination:=Range("A1").CurrentRegion.Rows.Count


Regards

Stephen

Wed 1 Jun 2011: Automatically marked as resolved.

Excel tip:

Autosum shortcut key

press ALT + =

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.09 secs.