Results 1 to 3 of 3

Autofill numeration in row until last empty cell

Threaded View

MaciejOlb Autofill numeration in row... 03-01-2023, 10:18 AM
kvsrinivasamurthy Re: Autofill numeration in... 03-01-2023, 10:34 AM
Glenn Kennedy Re: Autofill numeration in... 03-01-2023, 11:53 AM
  1. #1
    Registered User
    Join Date
    02-24-2023
    Location
    olbud
    MS-Off Ver
    2016
    Posts
    1

    Autofill numeration in row until last empty cell

    Hi,
    How can I create macro which can autofill numeration in row.
    It have to end this macro at the end of this table.
    I was trying to make it in this way:

    Sub formuly_cena_zakupu_dziala()
    '
    ' formuly_cena_zakupu Makro
    '
    
    '
    Range("J18").AUTOFILL Range("J18:J" & Cells(Rows.Count, "J").End(xlUp).Row), Type:=xlFillSeries
    
    
    
    
    End Sub
    It worked perfect, but in empty sheet.
    In my main sheet I got an error 1004 because of merged cells size.


    Crossposted here: https://www.mrexcel.com/board/thread...-cell.1231254/
    Last edited by Glenn Kennedy; 03-01-2023 at 11:53 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Declare Long dimension numeration on TextBox
    By pipoliveira in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-17-2020, 09:30 AM
  2. [SOLVED] How to compare dates and return order numeration
    By orehovka in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2017, 09:24 AM
  3. [SOLVED] Need a macro that will stop autofill once it finds an empty cell (row).
    By SCACCHIA in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-31-2014, 06:02 PM
  4. [SOLVED] Autofill Until is Empty
    By Dnass in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-22-2013, 01:52 AM
  5. [SOLVED] autofill until adjacent cell empty
    By Hassan1977 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-03-2013, 01:54 PM
  6. [SOLVED] Numeration increasing by year
    By pgft in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-03-2013, 04:31 AM
  7. [SOLVED] How to autofill any formula till last empty cell
    By nur2544 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-16-2013, 08:56 AM

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