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

Image may be NSFW.
Clik here to view.

Can't run R script through Excel VBA on Macbook

I am using a MacBook pro and recently saw a question answered here on running R scripts through VBA. I tried running it with my own path and it is failing on the third line where it tries to create the...

View Article


Hiding Rows on Another Sheet in a Protected Workbook

I have a workbook with a sort of Table of Contents on Sheet2 with ActiveX checkboxes.If a user selects one of these checkboxes, it will hide that section on another sheet.I need this to be a protected...

View Article


How to import CSV-file with Microsoft Excel 2016?

I try to import a CSV-file in Excel. The program has funny default properties. It puts the content of the rows all in one column including the commas. Lets say the file content is (test.csv):1, 2, 3 4,...

View Article

Reference Pivot table filter

I am trying to reference a PIVOT table filter to use as the Save As name for generating a PDF. I cannot seem to find any combination of PIVOT table object reference to do this.Sub...

View Article

How to map dynamic excel rows to sql database columns

I am trying to import an excel using Laravel with dynamically changing columns(names as well as sequence) . I am looking for a way to map these columns against Sql db columns.

View Article


Move two buttons in one range and display them next to each other

I have two buttons in my spreadsheet and I use the following VBA to move both buttons into Range("D12:D12"):Sub Move_Buttons() Set Range_01 = Sheet1.Range("D12:D12") With Sheet1.Buttons("Button 1")...

View Article

Trailing commas at the end of a data extract in CSV

a little background on my problem:I have CSV file that is created by a query in MS Access. The main body of the CSV file contains columns; names, address, post codes, dates, etc. The last line of the...

View Article

How do I prevent an excel table's formatting from overwriting a range's...

I'm working with a spreadsheet that requires the use of a table. I resize it to only include the headers and the first line of data I'm working with, but when I then refit it to cover all of my...

View Article


Is it possible to download a CSV file by using an Excel macro to click on a...

I want to write a macro in Excel that will download a CSV from a web application I use for my job. The user interface for the web application has you click on a button to open a menu, then click on a...

View Article


Creating multiple data histories with Excel VBA using LastRow, Time Stamp and...

I have programmed a manual macro in Excel VBA that displays 2 or in the future multiple tables to show the history of certain data in a sheet called "evaluation". The data i reference to is in the...

View Article

Creating a data history with Excel VBA using LastRow, Time Stamp and...

I have programmed a manual macro in Excel VBA that displays a table to show the history of certain data in a sheet called "evaluation". The data i reference to is in the table "checklist".(Look below)...

View Article

How to use Poiters (References) in a VBA For Each Loop?

When I run the following code the source etapasArray doesn't have their own values changed!The array etapasArray has each element accessed as etapasArray(i)(j).This is the sub function:'etapasArray is...

View Article

Image may be NSFW.
Clik here to view.

How to send a single email to all people in a column

I found macros to send an email to each person in a column.Column B shows the names which have "Yes" in column C. I have added this condition in Power Query.Sub Send_Row_Or_Rows_Attachment_1() 'Working...

View Article


Image may be NSFW.
Clik here to view.

Paid Invoice Sum Calculation [closed]

I'm creating a table where I'm entering in invoice information row by row. If it's not yet been paid, I'm setting the "Half Paid?" column to no. I'm then sum'ing the total and dividing by 2. Then...

View Article

Insert TextBox value into first empty cell in column

I have the following code which works fine. (TextBoxes are on "UserForm" in Excel VBA, and executes with clicking CommandButton1 on that UserForm.) But can anyone help me to insert the value of each...

View Article


Linking and importing an Access crosstab query into Excel

How can I import a crosstab query into Excel and also link it? These are my steps to import the data from the cross tab query. Data >> Import External Data >> New Database Query >> MS...

View Article

How can I better select the value I want out of this list?

I am trying to attach a file to an email body (Well at least bring up the prompt, because i've read it's extremely difficult to interact with the pop up box, unless someone has a way to do that.) and I...

View Article


Image may be NSFW.
Clik here to view.

Application.Quit command not closing the entire Excel Application

I have following code under a button. When clicked it just closes the current Excel sheet but not the entire Excel application.Application.DisplayAlerts = False ThisWorkbook.Save...

View Article

Image may be NSFW.
Clik here to view.

How to apply multiple criteria to .Find?

I adapted code I found online.It finds the string "car" in column A and returns the rows as an arrayIt assigns a variable to the length of the array (how many matches it found)It assigns a variable to...

View Article

Check if value exists in a column and overwrite if yes, add a new row after...

I'm relatively new to VBA coding and would appreciate any help and guidance.I'm trying to compare values in column “A” in on 2 different worksheets - source and destination - and if values match -...

View Article
Browsing all 88030 articles
Browse latest View live


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