Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 04-30-2018, 08:08 AM
ArviLaanemets ArviLaanemets is offline Sum Frequencies in VBA in Excel Windows 8 Sum Frequencies in VBA in Excel Office 2016
Expert
 
Join Date: May 2017
Posts: 949
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

Quote:
Originally Posted by SailorJerry7030 View Post
is there a way to put this into VBA code? I only ask because this is going to apply to 96,000 records
Is the formula slowing the worksheet down? I ask because this is simple arithmetical formula which needs not much resources.

When yes, then of-course you can write a VBA procedure, which counts the number of rows in UsedRange, and processes then every datarow in your table, calcualtes same formula in VBA (you have to remember, that in VBA FALSE is 0 like in worksheet, but TRUE converts to -1, so you hafe to multiply the result with -1) for every row, and writes the result into proper column in your table. You can run the procedure from button on worksheet, or you can create a shortcut key combination to run it.

I myself don't have Office available for today and tomorrow.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word & Excel 2010 - Best Options To Auto Insert MySQL & Excel Data? Hoser Word 1 03-17-2017 03:47 PM
Embeding Excel Docs in Word - Receiving Memory Error Message if Excel is open kdash Word 0 05-06-2015 09:38 AM
Sum Frequencies in VBA in Excel How To Open an Macro From 2003 Excel in 2013 Excel Spread Sheet? ADubin Excel Programming 3 02-08-2015 04:57 AM
Sum Frequencies in VBA in Excel [Excel 2007] Building Power Point Slides from data in an Excel Table bremen22 Excel Programming 1 08-07-2013 11:01 AM
Sum Frequencies in VBA in Excel Excel 2011 can't open old Excel 98 or Excel X files FLJohnson Excel 8 05-09-2012 11:26 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:10 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft