vba intro

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

TrustPilot

starstarstarstarstar Excellent

  • Home
  • Courses
  • Promotions
  • Schedule
  • Formats
  • Our Clients

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » VBA intro

VBA intro

resolvedResolved · Medium Priority · Version 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:

Percentage format

Ctrl+Shift+% applies the Percentage format, with no decimal places.

View all Excel hints and tips


Server loaded in 0.07 secs.