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

Excel VBA to get IP address from a domain

I'm trying to write a VB script for MS Excel to get the IP address from a domain. I currently use ping but it is too slow and it takes up to 19 seconds.I created a specific function to do this:Public...

View Article


Image may be NSFW.
Clik here to view.

How to get info from the Initials field in the oulook addressbook with excel vba

I am a clerk and thought myself a little excel-vba in order to automate some tasks in the office.However, while "coding" I stumbled upon the problem, that I can't retrieve information stated within the...

View Article


VBS delay outlook from closing so e mails can finish sending

I have a VBS script that runs SAP and downloads a file and inturn runs a macro on the file then saves and e mails.The problem is I have a list of 8 e mail addresses to send the file to but outlook...

View Article

Consolidate data from multiple specified files into 1 Master Sheet

I have adapted a code I found a while back that allows me to select files from the File Dialog, and consolidates the data into a single Master sheet. The code works as it is, but I need help changing...

View Article

How do I get if a value of an excel cell is empty in C#

So I'm making a simple app for time tracking at work, it scans a barcode for when you check in, and again for check out, it calculates the hours, and then saves them in a .xml. The thing is, it works...

View Article


How to copy a data row from column A to column B, between each data row

Troubles with formula, asking for a missing matrix Steps, I have tried to retrieve data from column B to column DKnow is telling that I insert insufficient argumentsGood afternoon,I have column B, with...

View Article

How to print to excel/csv?

Current task is to pull only numbers from a text file. I have this part working and it's printing vertically in the console.I'm trying to print my output to an CSV or Excel file. Preferably to the same...

View Article

VBA Function Returning Type Mismatch

I have a function calling another function. This was all one function but it got too big. Function Wave(SubjectLine As Range) Dim SubV SubV = SubjectLine.Value Dim regEx, Match, Matches ' Create...

View Article


How can I keep sheet page numbers on my excel file, while printing all of the...

My document has multiple sheets, each with multiple pages.I would like the ability to select multiple sheets, and have those sheets saved to a pdf file. My current issue is that the output footer...

View Article


Macro giving out error "Run-time error 1004: Method 'Range' of...

Sub Load() '' Load Evaluation Macro '' Dim zelda As Integer zelda = Lookup() Sheets("RawData").Select Range("A"& zelda).Select (highlighted row in yellow) Selection.Copy Sheets("Evaluation...

View Article

I'm trying to use object variables with a workbook and worksheet. I get the...

When I run the code below I get the "Error 438, Object doesn't support this property or method" at the line: WBA.WS1.Range("I7").Select Sub Sandbox() Dim WBA As Workbook Set WBA =...

View Article

How do I slice an array in Excel VBA?

What function can I use in Excel VBA to slice an array?

View Article

Image may be NSFW.
Clik here to view.

what is the right formula to calculate the crossing point of 2 lines, while...

what is the formula for calculating the crossing point of 2 lines when the input is the coordination of the lines - using excel formula for X and Y.i can calculate each line function - but how to...

View Article


How to average across excel rows for multiple rows using Openpyxl in Python?

I am currently trying to average 3 excel columns(Col C to E) into and new 4th column (Col F). When I look up how to do this with openpyxl the code looks like this:from openpyxl import load_workbook wb...

View Article

How to access specific value in imported XML with VBA

I have a completed .pdf form (XFDF, XML) that I am importing into excel. The goal is to get a "Field Name" and a "Value" for that field from the XML.Currently I am able to get the "Value" (Blue accent...

View Article


Work with DDE Links from Excel to Shiny in R

Guys I have a DDE link that feeds my excel spreadsheet.This is the DDE Link: NAMEofTheCOMPANY|cot!STOCKA.LAST he hands me the real-time market stock price.I then paste it to a cell on the excel...

View Article

How to move first row from Sheet1 to Sheet2, move second row on Sheet1 to...

I have a list of data about 20k rows long and all data is in the first column. Each record has three rows of unique data.I'm trying to move each row to a new sheet and repeat until the end of the...

View Article


How to Write Excel Macro to Delete Entire Row if cell Value Equals ""

I would like to have a macro that deletes an entire row if the cell value equals "" for multiple ranges. Ranges are "B16:B115, B131:B230, B250:B349". Logic: If cell equals "" then delete the entire...

View Article

Improve the performance of excel vba while using search

I have 400 000 records in two sheets with 5 columns each with data in column A being the unique identifier. Order of the columns in both the sheets is same. I am trying to search for record that exists...

View Article

Image may be NSFW.
Clik here to view.

Email Signature image appearing on 1st email sent, but not on others

Using this code, I'm able to extract the default signature, send an email using the sheet contents that I'm on:Function RangetoHTML(rng As Range) ' Works in Excel 2000, Excel 2002, Excel 2003, Excel...

View Article
Browsing all 87999 articles
Browse latest View live


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