+ Reply to Thread
Results 1 to 3 of 3

macro need to create a new column for location

  1. #1
    Forum Contributor
    Join Date
    07-21-2009
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    292

    Lightbulb macro need to create a new column for location

    hi all,

    attached file is the system generated report in sheet 1. i have location name in cel B2 and B8.

    what i want a macro which can create a clomn and copy and paste location from above cells to all the way down from location to another location. so that i can filter location wise date. Sheet 2 is my requirement.

    If any one help me out, will be highly appreciated.

    Thanks in advance.
    Attached Files Attached Files
    Last edited by tariqnaz2005; 03-18-2019 at 04:54 AM.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: macro need to create a new column for location

    How about
    Please Login or Register  to view this content.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: macro need to create a new column for location

    Hi tariqnaz,

    Instead of VBA, why not put this formula in C2 and pull it down?

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    FillDown with formula.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to create 2 separate PDF files of 2 sheets - saved in same location
    By Mattyevs1000 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-17-2017, 10:46 AM
  2. Macro to create new email and send it with attachments stored at a particular location
    By Ash_Maverick in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-21-2016, 12:30 PM
  3. Macro is splitting a column in the wrong location.
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-04-2016, 12:16 PM
  4. [SOLVED] Macro to Save Excel File to a SharePoint location and then e-mail that location in Outlook
    By NickyHavey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2016, 09:27 AM
  5. [SOLVED] Macro to sort data by column B within the Location & Total rows?.
    By ludsonline in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-23-2013, 06:04 AM
  6. [SOLVED] [Help]macro to open file browser, to select a location, and save the location to a cell
    By zhuleijia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-06-2013, 09:56 AM
  7. create macro relative to button location
    By edgonzo101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-28-2012, 03:17 PM

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