Open excel interop with impersonation in C#
Is it possible to open excel interop in C# with impersonation. I want to open excel application to run under different account other than the one which C# program runs in. By default, it opens under...
View ArticleExporting the List of columns and list for values for that columns to Excel
let me explain my question . I have a list of ID's which i'm looping through and i'm getting the List of FIELDS and VALUES. Now i have to put both the list into Excel file where FIELDS are the Columns...
View ArticleChange the colour and/or width of active cell in spreadsheet in Microsoft...
In Microsoft Excel(in mac), in large spreasheets, it becomes very difficult to see the active cell.It would be very handy if we can make the active cell with a contrast colour to the table, or increase...
View ArticleGet last visited path for FileManager
im currently working on a macro in Excel were the user can select a workbook thorugh a fileDialog. The FileDialog is working fine but I was wondering if it is possible to set the Initiallocation of the...
View ArticleGetting the value of matching columns in WPS spreadsheet
I have two spreadsheets where I maintain Item SubCategory and Item details. What I want is to add SubCategoryId to the Item table if the CategoryId and the SubCategoryName in the Item table match the...
View ArticlePython xlsxwrite series vs. list
Hello I try to write some results into an excel file. However I make some mistakes I do not understand. I did some calculations and used the results in the following for loop:hexT1_T2 = [] quot = []...
View ArticleWorkbook Protection is unprotected regardless of password (VBA Excel 2010)
I searched about the said problem with various keywords but all results were either related to how to protect a workbook or unprotect it without knowing the password.My current problem is not really a...
View ArticleHow to fix auto capitalization in ExcelVBA error
I am still very new at using VBA so many of my code is just pieced together from what I have learned or what I have found while searching how others did things. The code below keeps giving me"Run-time...
View ArticleVBA does not arrange my workbooks if one or more is minimized
I'm writing a piece of code to arrange workbooks in tiles. But I want to do this for a select few opened workbooks. The way I go about it is I loop through all opened workbooks and those that don't...
View ArticleHow can I best configure Excel's Fuzzy Lookup when columns are mixed up?
I currently have two Excel tables with tennis match data I'm trying to merge together. Below is a simple extract of both...
View ArticleVBA save images as eps or other vector file
I need to save some graphs into a folder as a vector type (e.g. eps). I am currently zooming and saving as png but this is not the optimal solution, and inserting .emf or .eps returns me an error....
View ArticleHi i'am very new to vb.net i want to read and write data in excel from...
Dim row As Byte Dim rm As Resources.ResourceManager rm = New Resources.ResourceManager("SyncfusionWinFormsApp10.resources", System.Reflection.Assembly.GetExecutingAssembly) row = rm.GetObject("proj1")...
View ArticleLooking up latest date in Excel [closed]
I was wondering if anyone can help me. I need to look up the latest date from one sheet to another and only looking up against another cell. for example: (Sheet 1) Places visited: Colchester,...
View ArticleDeleting rows based on cell value
I am new to macros and I am looking to delete rows containing the text "Not Applicable" in Column D. I have attached my code below. On compiling, I am getting the error "Application or Object Defined...
View ArticleAccessing Microsoft Graph API for excel data on using AJAX request
function requestToken() { $.ajax({ "async": true, "crossDomain": true, "url": endpointUrl, // Pass your tenant name instead of sharepointtechie "method": "POST", "headers": { "content-type":...
View ArticleHow can I automatically add new rows to a spreadsheet where certain criteria...
I am working on a large spreadsheet - It is essentially a list of workers names and then columns numbered 1 to 19, each of these numbers represents a certain task. Where a person has worked on more...
View ArticleUsing Index to create a dynamic range issue with non-blank blank cells
So I am having issues defining a dynamic table range using the index function, I think the problem is arising because the table I am attempting to create a dynamic range for has cells inside that are...
View ArticleHow to add JPG file to oft template at specific location in on email body
I'm trying to distribute emails via using outlook oft template. On the oft template at specific location i want to attached jpg file which i have created from excel range. Dim OutApp As Object Dim...
View ArticleExcel Data Validation Formula Failing
I am trying to have a dropdown with writing permissions based on the content of the cell next to it (so that it is not possible to chose something if the partner cell contains specific characters). So...
View ArticleVBA SUMIF based on Variables
I'm new to VBA and trying to figure this one out, I did not work with functions yet. I'm trying to automate the SUMIF formula on my VBA sheet. The Rec sheet will contain a dynamic SUMIF formulas based...
View Article