+ Reply to Thread
Results 1 to 3 of 3

insert long/big formula to cell using VBA

  1. #1
    Registered User
    Join Date
    01-12-2016
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    76

    insert long/big formula to cell using VBA

    how can i use this
    Please Login or Register  to view this content.
    with
    Please Login or Register  to view this content.
    I have this macro that copies a few cells. I need all B30 references to change to B31 while all other stays the same.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,289

    Re: insert long/big formula to cell using VBA

    Use dollar ($) signs to make the cell references absolute, as you would on the worksheet itself.

    Better to post all the code and a ample workbook than just odd lines out of context.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    01-12-2016
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    76

    Re: insert long/big formula to cell using VBA

    Addnew.xlsm
    Here you have a file.
    hope you understand what i want.

+ 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. Insert long formula into range
    By chasmac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-08-2015, 06:22 PM
  2. [SOLVED] Long Formula in cell and REF!
    By rodich in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2014, 06:52 AM
  3. Enter very long formula into cell
    By EmmaOD in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-16-2014, 01:01 PM
  4. [SOLVED] long formula in more cells into one cell?
    By miso.dca in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2013, 07:05 AM
  5. VBA macro to put Formula in cell - too long?
    By mac8528 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-16-2010, 09:19 AM
  6. Long long formula not calc'ing all steps
    By jvautour in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-01-2009, 10:26 AM
  7. long formula obscures cell view
    By KG in forum Excel General
    Replies: 5
    Last Post: 03-30-2005, 05:06 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