Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Browsing all 50254 articles
Browse latest View live

How Do I Split Text Based Upon Two Values To Split

I am using the following macro to split out any text in the cell beginning with [E and ending with ]. The problem is I also have text in other cells starting with [e ending with ]. Note in this...

View Article


Update Masterfile Based on Criteria

Hi Guys, I was wondering if you could help/ lead me in the right direction. Basically I want to update only one field of my master file (the date something is closed off) with out pasting over the top...

View Article


How to trap formula calculations (using Worksheet_Calculate() ?)

This may be a stupid question, but I don't know how to use Worksheet_Calculate() in vba. Sample code: Code: Private Sub Workbook_Open() Application.Calculation = xlAutomatic Sheets("Sheet1").Protect...

View Article

Excel Charts to PDF

Hello, I have excel sheet and having a chart on it i want to put a button which help to convert that chart portion in to PDF and it will save and send to email id.

View Article

Split file into severas sheets according to value in Column B

Good morning all I have the following issue: I ve got a sorted spreadsheet by column B. The possible values in culumn B are APAC, London, Zürich and Stamford. What I need is a macro that copies all the...

View Article


Image may be NSFW.
Clik here to view.

VBA to Search a Text String, Find a Value listed in another column and...

Hey everyone I have a problem that I really could use your expertise on.... My problem is this... In Excel 2010 I have a column (let’s say column A) that is a series of text strings. What I need to do...

View Article

Image may be NSFW.
Clik here to view.

same filter criteria for multiple pivot tables

Hi, I need to generate multiple pivot charts with the same filter criteria. Currently, i'm selecting the filter options for each pivot table. I just need a script to make a single filter selection to...

View Article

Image may be NSFW.
Clik here to view.

need excel formula to replicate sales according to days in different sheets

guys i need help with an issue i am facing. need to replicate days sales from 1 sheet to other. e.g if today is 2nd day of the month and sold 4 items of product AA it should automatically be updated...

View Article


Link scrollbar to active cell

Hi guys, Does anyone know how to link a scrollbar (form controls) to an active cell? I would like one scrollbar at the top of the worksheet and when I select a cell in column "B" (ranger from b6:b151)...

View Article


How to store the return value from cmd to a variable?

I am using a batch file to execute a function but then the batch file uses JAVA and then if JAVA_HOME does not exists it results to some crazy error that I can't understand on the cmd... So I was...

View Article

mulitple 'for each ce in range' statments

hi, i want to be able to look up each value in workbook1 (currently A2:A4) and also look it up in workbook2 and copy the entire line from that workbook(2). i have the below code that looks up for cell...

View Article

VBA Assignment HELP ME!!

I am having a lot of trouble with this assignment, and I was wondering if anyone could help. Thanks! :) (and when you open the document, it will ask you to enter a "NetID". You can type anything here,...

View Article

excel as a database

I want to create a xl file which is having 2-3 userforms , like empyoee details and in second form some quitionier , I want to change the 25 questions randomely one by one to display out of 100 nos...

View Article


Run Time Error 1004 when referencing named range

My code is extremely simple Code: Sub selectRequired()     Range("Required_Fields").Select End Sub It gives me an error that states "Method 'Range' of object'_Global' failed" It's a run time error...

View Article

How to print multible copies in order with each copy number increasing by one?

Hello I know there are other forums on this but rule says to start new thread with my problems. Plus I am new to this. I have a single worksheet that i want to print out with a number on top that...

View Article


Image may be NSFW.
Clik here to view.

Index/Match to find Starting Point of Average, Ending Point of Average Variable

Hi, I just joined this forum hoping that I can find some help because I can't seem to figure this out online teaching myself. I have never used macros before, but consider myself fairly versed in...

View Article

macro to find duplicates in a sheet( 2-3 lacs rows) based on key column

I m looking for macro which finds duplicates quickly in huge excel sheet based on some key column/s and either put the data in another sheet or highlight in that sheet only. The key column can be a...

View Article


Userform closing unintentionally when saving "not responding" workbook

Hi! My .xlsb workbook takes a while to save (5+ seconds). When it saves it often says "Excel is not responding" and turns white for a split second. When this happens a userform that should remain open...

View Article

Macro to copy rows from mastersheet to standard template and save as...

Hi, I would need assistance to develop a macro to copy data from mastersheet to a standard template based on the unique value column and save the template. Eg. I have a master list of sales data with...

View Article

Image may be NSFW.
Clik here to view.

Data to be fed to solver model with a Macro

HI all I need to run a solver model with a macro in order to ease the user with data feeding to the solver. Any kind of help would be appreciated. I herewith attached sample sheet. what I need is to...

View Article
Browsing all 50254 articles
Browse latest View live