MDX Compatibility = 2 OLAP SSAS Excel
How to configure a connection from Excel to Analysis Services with MDX Compatibility = 2?Google does not help, as if in no way, because Excel sets MDX Compatibility = 1 by default.
View ArticleFreeze and unfreeze top row in excel with one macro
How would you freeze and unfreeze the top row in excel with just one macro? As in, click the macro once to freeze the top row, and click it again to unfreeze?
View ArticleWhy does activating specific sheets affect run time of my macro
Edited for brevity/correctness: Scroll to the end for a TL/DRI run a fairly lengthy macro which opens a bunch of files from Workspace/Sharepoint, copies things over to my excel sheet, loads data into...
View ArticleObject variable or With block variable not set. Why?
I'm getting the error mentioned here:…From this section of code......and as you'll see, the cell variables for the lastrow and lastcol are reporting fine, so why am I getting this error?I tried adjust...
View ArticleExcel/VBA Add the value of an adjacent cell to your total and do so for each...
I have a workbook with 13 sheets in it. 12 are the months of a year and the 13th is where I am doing all my calculations. Each month looks kind of like this:Fruit Box 1 Box 2 Box 3 Apple 5 2 1 Orange 2...
View ArticleIn VBA, is there any way to copy an Excel range to PowerPoint without...
I need to run an automated process that creates a fairly large number of PowerPoint files using an Excel template to generate the required tables and charts, which are pasted into PowerPoint as...
View ArticleIs it possible to make the following macro smaller and more efficient? [closed]
I have created the following macro to run a spreadsheet. Can anyone suggest making it shorter and more efficient.I tried to at least to add values in alternative columns minimize the use of if...
View ArticleRun VBA through specific range
I got this code, but it only works for one line. How to make it run on entire column? Public Sub StripLastName() Dim strLastName As String strLastName = Range("A2") strLastName = Right(strLastName, 8)...
View ArticleAdd a sheet to existing xlsx
So i want to add a sheet to an exisiting XLSX and it seems to work but on opening it gives an error and excel needs to repair it, i tried looking with the open xml productivity tool but couldn't find...
View ArticleLink chart title to Excel cell
I have some troubles lately on Excel 365 (32bits), I want to set Chart Title as a cell reference (linked, for e.g. if Chart Title's is in A2, then it will be =A2 and not Cell("A2").value which is that...
View ArticleSetting a charts data range in VBA
I am helping to revamp the Excel sheets the management team uses for business analysis. I am making a dashboard page that displays the data in an easy to digest manner. They add data to the data pages,...
View ArticleChanging a Dropbox's ListFillRange Directly from it's Properties Menu
To start off, I have created Defined Names from the Formulas tab to link specific formulas to the ListFillRange section in the properties for an ActiveX ComboBox. This method works great on it's own,...
View ArticleExcel VBA is blocking the Ribbon
I have made a .xlam file that holds some macro's. I use these macro's as a button in my ribbon. Most of these macro's are opening other Excel sheets. But whenever I use that macro's the ribbon is...
View ArticleHow can i get excell values on Microsoft Graph API [closed]
I have a problem related to Microsoft Graph API. I Registered on Azure and i created my project on Angular. There users can register and made changes in excel. Besides this, I want to get the values of...
View Articleuse VBA to color specific words in a list
SO I have a list of words ( they are 250ish medications in my Settings sheet ) , and I want to use vba to find those specific words in Column D of another sheet and color them magenta. Column D has 105...
View ArticleHow to copy specific sheet name from excel and save it to a new location?...
I am using C# Windows Forms.Goal:If I have multiple excel sheets.For example, "Sheet1, Sheet2, Sheet3, TestSheet1, TestSheet2"How can I grab specific sheet name e.g. ["Sheet2"] and save it as a new...
View ArticleRepeat rows and their content according to related column value
I'm a student who is moving his first steps into the ADV Excel & VBA world and I'm having a hard time with the following problem.I have a huge database and I'm trying to figure it out a way to make...
View ArticleHow to get an Excel cell fill color caused by conditional formatting using...
I'm setting conditional formatting using the Excel Javascript API that does different types of error checking. For example, if a user enters anything other than "foo" or "bar" in range A1:A10, then the...
View Articlefill multiple cells with reference to one cell - VBA [closed]
Is the below case possible in a single VBA code? If A2 has a value then B2 should return "AAA", C2 should return "BBB", D2 should return "CCC"I have duplicated the below code multiple times to acheive...
View ArticleOut of heap memory for XSSF java read excel file
Excel allows around 65K records in a .xls file. For more data, I am using .xlsx file . I used HSSF previously and now using XSSF for reading this xlsx in java. Now my question is, when I save data in...
View Article