Results 1 to 30 of 30

Getting Macro to dynamically adjust to a new row

Threaded View

  1. #1
    Registered User
    Join Date
    07-25-2021
    Location
    Ireland
    MS-Off Ver
    365
    Posts
    25

    Getting Macro to dynamically adjust to a new row

    Hi there,

    I've tried to write a macro that creates a tab for a new room and adds it to the totals. This works the first time I do it, however from the 2nd time onwards it creates a new tab but the totals are still based on data from the first tab I created "Room 2 (2)". I would need this to now be for "Room 2 (3)" instead. How can I make it so the macro accounts for this?

    I really don't know much about VBA, I did the macro through the recorder.

    Thanks
    Last edited by EliteBeat; 02-22-2024 at 11:18 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Cant dynamically adjust the row reference as I drag the formula across cells.
    By kenloong1403 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-23-2024, 06:06 AM
  2. Dynamically Adjust Print Size with VBA Based on Print Zoom %?
    By FSUDAL in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-22-2019, 03:54 PM
  3. [SOLVED] How to adjust row height of row so tall the point to grab to adjust auto falls below
    By juntjoo in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-22-2016, 02:07 PM
  4. Dynamically adjust slicer column number
    By maw230 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-28-2015, 05:54 PM
  5. Replies: 0
    Last Post: 07-21-2015, 10:26 PM
  6. Replies: 0
    Last Post: 06-22-2014, 04:18 PM
  7. Dynamically adjust data range to an excel chart
    By rouxbox in forum Excel General
    Replies: 1
    Last Post: 10-11-2012, 04:01 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