+ Reply to Thread
Results 1 to 11 of 11

Want a Little Change in the Given VBA Code

  1. #1
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Want a Little Change in the Given VBA Code

    Hi,
    This code copies cell formulas from sheet1 and paste these formulas into a new sheet. I only want that this code should copy values and paste as simple numbers only (without formulas).
    Here is the code
    Please Login or Register  to view this content.
    Will be really very Thankful to you.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Want a Little Change in the Given VBA Code

    Please Login or Register  to view this content.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Valued Forum Contributor
    Join Date
    10-12-2021
    Location
    CT
    MS-Off Ver
    365
    Posts
    462

    Re: Want a Little Change in the Given VBA Code

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    10-12-2021
    Location
    CT
    MS-Off Ver
    365
    Posts
    462

    Re: Want a Little Change in the Given VBA Code

    john beat me to it lol

  5. #5
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,206

    Re: Want a Little Change in the Given VBA Code

    Please Login or Register  to view this content.
    Artik

  6. #6
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Re: Want a Little Change in the Given VBA Code

    Hi Sir JohnTopley,

    This code worked perfectly as i wanted. In the previous code it was keeping cell format same. But now there is no cell format. No doubt your code worked Perfectly, but if you add this feature too in this code, i will be thankful to you.

  7. #7
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Re: Want a Little Change in the Given VBA Code

    Hi Sir Artik,

    This code worked perfectly. Code of Sir @JohnTopley and @carlmon also worked exactly like your code.
    But i personally liked your code because when i run the code in post #2 and #3, after running, a kind of selection area appears. But when i try your code. After running and completing task there was no any kind of such selection.
    Thanks a lot sir

    This code worked perfectly as i wanted. In the previous code it was keeping cell format same. But now there is no cell format. No doubt your code worked Perfectly, but if you add this feature too in this code, i will be thankful to you.

  8. #8
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,206

    Re: Want a Little Change in the Given VBA Code

    Changing the rules of the game during the course of the game? This is not acceptable.

    It will no longer be as beautiful as at the beginning:
    Please Login or Register  to view this content.
    Artik

  9. #9
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Re: Want a Little Change in the Given VBA Code

    Hi Sir Artik,

    Thank you so much. It worked perfectly.

  10. #10
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,206

    Re: Want a Little Change in the Given VBA Code

    If you could ignore the width of the columns in the new sheet, it could be beautiful again
    Please Login or Register  to view this content.
    Artik

  11. #11
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Re: Want a Little Change in the Given VBA Code

    Hi Sir Artik,

    I need your help in this thread
    https://www.excelforum.com/excel-pro...ut-result.html
    I want to find those top 10 inputs whose combination gives maximum output result.
    I have zero knowledge about VBA. If it is possible with VBA then please try to solve it. If it is not possible with VBA then please guide me how i can solve it with an automatic system. If i try to achieve it manually by changing values one by one then it will take many days or even months for me to get those top 10 inputs with the highest output results.

+ 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. Change font color of multiple objects at once with shorter code?
    By frankytheman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2020, 01:28 AM
  2. change date format in VBA code it means change output when printing cheque
    By keshavtale in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-23-2019, 06:06 AM
  3. Need to change sample code columns for subtotals and the column for a change event
    By JoeVanGeaux in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2017, 09:02 PM
  4. Replies: 3
    Last Post: 07-01-2015, 09:53 PM
  5. [SOLVED] Trying to change verbose looping code into more efficient (and shorter) code please
    By dawatcher in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-03-2013, 07:43 AM
  6. Replies: 4
    Last Post: 07-09-2012, 04:15 PM
  7. Replies: 15
    Last Post: 04-17-2012, 08:19 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