+ Reply to Thread
Results 1 to 2 of 2

Cost carries across NOT down...?!?!

  1. #1
    Registered User
    Join Date
    11-09-2011
    Location
    Brighton, UK
    MS-Off Ver
    Excel 2010 & Office 365
    Posts
    41

    Cost carries across NOT down...?!?!

    Hi All,

    I'm getting a bit of a quirk with the following bit of code and wondered what on earth I am not getting right....

    Please Login or Register  to view this content.
    If I run the code with the destination cells specified as a fixed range

    e.g.
    Please Login or Register  to view this content.
    it will run copying the data down the rows then moving across the columns as I require. However if I run it as is (and the number of rows do change!) it copies across not down which is not what I want.
    Also, if I specify the range with a variable as I have in the first example I seem to be limited to only two ranges of cells. How do I make it reflect the second example (i.e. 3 lots of columns) with a dynamic row number.

    Any help will be massively appreciated!

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Cost carries across NOT down...?!?!

    Your Range statement is incorrect. You need:
    Please Login or Register  to view this content.
    Note that this is not the same as your:
    Please Login or Register  to view this content.
    which is actually equivalent to:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    11-09-2011
    Location
    Brighton, UK
    MS-Off Ver
    Excel 2010 & Office 365
    Posts
    41

    Re: Cost carries across NOT down...?!?!

    D'oh, thanks romperstomper, hugely appreciated!

    Have a great week.

+ 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. Inserting a row that carries formulas
    By bday in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-19-2011, 01:55 PM
  2. Replies: 0
    Last Post: 05-12-2011, 12:15 AM
  3. Replies: 2
    Last Post: 02-15-2010, 05:25 PM
  4. Cost Driver calculation - Looking for formula/macro to calculate manpower cost alloca
    By Swastik Banerje in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-30-2009, 11:18 AM
  5. For next loop carries on after criteria is met changing other cells????
    By Simon Lloyd in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-07-2006, 03:45 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