+ Reply to Thread
Results 1 to 2 of 2

Help Required in copying data thru VBA Coding

Hybrid View

BALA1983 Help Required in copying data... 10-29-2015, 06:18 AM
AB33 Re: Help Required in copying... 10-29-2015, 06:25 AM
  1. #1
    Registered User
    Join Date
    04-08-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    51

    Help Required in copying data thru VBA Coding

    Hi,

    In the attached excel file, First cell will have text "A" and then few cells will be blank in that column then text "B" will come. now I need a VBA Coding which will copy the A to all the blank cells in that column till it reaches B, and likewise it should copy the same data to all cells in that column till it get a break like this.

    Pls help me in providing the VBA script.
    Attached Files Attached Files
    Last edited by BALA1983; 11-12-2015 at 03:12 AM.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Help Required in copying data thru VBA Coding

    Where does the last row end?

    Sub fillme()
    
        With ActiveSheet.Range("B1:B" & Range("B" & Rows.Count).End(xlUp).Row)
            .SpecialCells(4).FormulaR1C1 = "=R[-1]C"
            .Value = .Value
        End With
    End Sub

+ 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. EXCEL: VBA Coding Required For Formatting Raw Data As Per Requirement
    By gaikwad.mm in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-16-2015, 08:31 AM
  2. [SOLVED] URGENT: Help Required, VLookup VBA CODING now not working
    By Spear86 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2014, 07:23 AM
  3. VBA coding for copying data from multiple work books in a folder
    By aravindkm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-27-2013, 04:34 PM
  4. VBA and Macro Coding Required for Excel 2010
    By aks9389 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-06-2013, 02:00 AM
  5. Vba coding required for count and insert
    By meet2mayank in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-16-2010, 06:30 AM
  6. Copying macro coding across many workbooks
    By mr_teacher in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-14-2007, 08:01 PM
  7. Some VB coding required
    By ExcelBob in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-25-2006, 11:10 AM

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