Quantcast
Channel: Active questions tagged excel - Stack Overflow
Browsing all 88809 articles
Browse latest View live
↧

Error '438': Object doesn't support this property or method when running...

I'm trying to get Outlook to fetch a mail template I have stored in the folder "Templates" from a Excel VBA code, but get the error 438 code on the line "Mapp = Application.GetNamespace..." in the...

View Article


Uploading Excel to Azure storage is corrupting the file and providing a...

I am uploading an Excel memorystream to Azure Storage as a blob. Blob is saved successfully but corrupted while opening or downloading. Tested once with ExcelThis provides Security warning everytime...

View Article


Read Xlsx file in PhpSpreadsheet

I want to read an xlsx file that was created in Microsoft Excel, but when I run the following code...$Source_File = "test.xlsx"; $Spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load($Source_File);...

View Article

DescTools::XLGetRange() fails with sel$Cells() Error: attempt to apply...

I am running R version 3.5.0I have installed the packages:install.packages("DescTools") install.packages("RDCOMClient", repos = "http://www.omegahat.net/R") I have run Excel and selected a range of...

View Article

Image may be NSFW.
Clik here to view.

C# Excel COM plugin assembly bindingRedirect?

I'm writing a Excel COM plugin with C# and .Net 4.8. The plugin use Utf8JsonReader from System.Text.Json package. This package need System.Memory as dependency, and Memory need...

View Article


Python: how to detect if a workbook that is not saved anywhere is open?

So basically I have a Python script that controls a system in my company until a point where it clicks an "export" button, which generates a spreadsheet. The system's export button just opens a worbook...

View Article

Q: Using python to translate excel --> dictionary

I would like to create a dictionary from an excel file. For example, if data is organized as follows:x1 1 y1 0 f1 4 x2 2 y2 2 f2 1 x3 3 y3 8 f3 7 I would like to create a dictionary which...

View Article

Find name of selected item in matrix and show in a list box by vba

i have a matrix (6*6) in sheet1 like below, and Inside its cells, I've written the countifs() formula for the number of correct items, Now i want a Listbox for Returning the name of items from sheet2...

View Article


Excel - Sorting Data Pulled From Another Sheet

I have two worksheets in a workbook I'm designing for teachers to use next year. One worksheet is where they enter student information and one that is a general student roster. Theres alot more data on...

View Article


Save errors - runtime '1004'

I have an issue runtime error 1004 with the below code, could anyone clarify for me what could be driving this?Sub Excel1() Dim rngLoopRange As Range Dim wsSummary As Worksheet Dim rngDealers As...

View Article

Write properly a formula in VBA excel

I'm struggling to write a formula in VBA excel.This is my code:Dim Formula as Range Dim Number as Integer Number = 1 Formula.formula = "=MAX(IF(LEFT(B7:B250,1)= & Number &, B7:B250))"It gives...

View Article

How to parse excel into json (complete information including cell styles,...

I am trying to parse excel into json without 3rd party library.What kind of logic i need to use and How can i achieve?Can someone please help me?

View Article

How to set Cells Range as Variables

I want to set Cells range with Variable X and Y. Then I need ElseIf statements to have (y+1, x) values.I tried it with Cells(y, x) and Range(y, x), but still got a 1004 run-time errorPrivate Sub...

View Article


excel "insert line" causing error with target.offset

I have this simple bit of code that automates some dates and stuff when adding line items to a sheet. It works well, but when I insert a line in to the spreadsheet [right-click the line name >...

View Article

Why am I encountering run time error when printing to PDF?

I've been using a code to save worksheets to PDF. This has been working with no issues, but now I am receiving run time error 1004.Sub ExportAsPDF() ThisWorkbook.Sheets( Array( "Communication...

View Article


Get excel to paste the entire row in the next available spot on a new...

I am using this code to copy/paste an entire row if a column contains a keyword. I assigned the macro to a button. It works, but if I get a new item that is marked complete and press the button again,...

View Article

Find the total number of rows and columns in the worksheet - Microsoft Graph

With Microsoft Graph I can access all the rows and columns from a worksheet like this.GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets/{id|name}/usedRange This is giving me...

View Article


Copy Worksheet not functioning

My attached code is causing an error when trying to copy over the worksheet into the new workbook, can anyone advise what might be driving this problem?Sub Excel1() Dim rngLoopRange As Range Dim...

View Article

Python/pandas For Loop with Excel, Merge multiple Workbooks (Single Column)...

I can get this working on Excel VBA but not python...Appreciate if someone can help! This is what I have so far.Column name "Search" is the common index which I'm merging off.import pandas as pd import...

View Article

how to control a non-microsoft program using VBA [closed]

I'm working on a project, where i gather data from an oil plant simulator to an excel sheet using VBA. the steps to do so are repeated every hour, that's why I'm looking for a way to automate the...

View Article
Browsing all 88809 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>