+ Reply to Thread
Results 1 to 4 of 4

Changing thr range in VBA

  1. #1
    Registered User
    Join Date
    10-01-2017
    Location
    India
    MS-Off Ver
    8
    Posts
    5

    Changing thr range in VBA

    Hello
    Was searching for a solution on google. Found one but need help
    in vba since I know only basic formula level.
    The existing range reads only second column.
    I require to change it to A1:Z5000 with actual values
    since formula involved in some columns.
    How to do?

    Thanks




    Please Login or Register  to view this content.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2509 Win 11
    Posts
    25,002

    Re: Changing thr range in VBA

    Change this line of code

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.
    if I am understanding your request.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Changing thr range in VBA

    Hi,

    I'l admit I may not fully understand your request which is why we generally prefer to see a workbook which shows a Before and After situation
    However, that said and if this is a question about converting formulae to values, which I imply from your OP perhaps...

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    10-01-2017
    Location
    India
    MS-Off Ver
    8
    Posts
    5

    Re: Changing thr range in VBA

    Hi
    I checked and found both the options are workable.
    However would first prefer the first one.
    Thanks alansidman and Richard Buttery.

+ 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. Clear Cell range upon Changing data in difference Range
    By snuffnchess in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-08-2016, 02:22 AM
  2. Replies: 15
    Last Post: 12-22-2014, 08:03 AM
  3. Macro for sorting range when range is continuously changing
    By lukasj13 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-24-2014, 10:47 AM
  4. Replies: 0
    Last Post: 10-22-2013, 01:04 PM
  5. Change the line graph range in Excel 2007 automatically without changing the data range
    By vinuhm@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-21-2013, 05:26 AM
  6. Changing Target Range to A Specific Range
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2010, 05:56 PM
  7. Changing the background of a range based on text in the range.
    By dcgrove in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-24-2008, 04:29 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