Results 1 to 3 of 3

VBA Filldown or Autofill

Threaded View

  1. #1
    Registered User
    Join Date
    05-08-2022
    Location
    Australia
    MS-Off Ver
    Microsoft 365
    Posts
    9

    VBA Filldown or Autofill

    Hello!

    I've Frankensteined the excelgeocodingtool.com spreadsheet for work and added another sheet to give me the trip duration and kilometres. My issue is that I have to manually fill down the relevant formula everytime which isn't super user friendly for my colleagues.

    I've tried

    Range("A3:A" & LastRow).Formula = "=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(distance.url,"$1",$F3),"$2",$S3),"$3",travel.mode),"$k",bingMapsKey)"
    but I'm getting an error saying that the $ sign is invalid.

    Is there a way that I can get the formula to fill down using VBA without including the formula in the code, or is there something else I should try?

    Thank you
    Last edited by 6StringJazzer; 07-06-2022 at 08:40 PM. Reason: use code tags

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Filldown and AutoFill
    By k64 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-02-2017, 12:05 PM
  2. Trying to Filldown
    By aavins73 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-07-2014, 11:14 PM
  3. [SOLVED] VBA for filldown
    By rarementality in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-21-2014, 06:26 AM
  4. [SOLVED] VBA Vlookup Filldown/Autofill in Alternating Columns
    By msawyer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-29-2013, 01:25 PM
  5. Autofill / Filldown
    By Moz2407 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-27-2011, 12:17 PM
  6. link to filldown
    By sungpeng in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2008, 08:47 AM
  7. [SOLVED] Filldown? & Cmb?
    By Jennifer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-15-2006, 11:35 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1