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

Image may be NSFW.
Clik here to view.

Filtering a list of Names from Worksheet1 onto Worksheet 2 based on specific...

The first worksheet contains registered voter information including whether or not they voted in the last 4 primary elections. If they did vote in the last four primaries, the relevant cells are...

View Article


VBA goal seek multiple cells

Hello, I want to goal seek several different cells. First, I want to change cell A1 by setting cell B1 to 0. However, A1 takes into account the value of C1. Then I want to change cell A2 by setting...

View Article


[SOLVED] VBA Code - Expand/Collapse Grouped Columns

Hello all, Currently, Columns EFG are grouped. I have a userform with checkboxes. With the click of check box, i would like for it to do the following. If checked, it will expand the group. If...

View Article

Image may be NSFW.
Clik here to view.

Macro to Match Column Against Row Criteria

Hello all, Trying to write a macro that will display either an “X” or a date under a specific header if several conditions are met across a row in another tab. I have two tabs, one is the report, the...

View Article

LOOK UP, COPY PASTE into Another Sheet Within SAME Workbook - with TODAY Date

Need help expanding this code to make it do the following: 1. Start w/ "RULE-Table" sheet, 2. Take note of "TODAY" date, 3. LOOKUP date in "RULE-table" 4. Locate Coordinates found in Col D of...

View Article


Image may be NSFW.
Clik here to view.

automatically creating .csv files from .txt files with specific format and...

I am novice user in Macros. Could anyone help please? The project is divided in 2 parts. 1) As attached, the input files are in .txt format and all files we are saving in same drive so for e.g. C: /...

View Article

VBA copy past

How can I copy the cell F36 to Cells in range? I have a loop with a lot going on. After calculations, I want to copy cell F36 to cell F15,then add 5 to cell A1, then copy F36 to F16 etc Any help?

View Article

Sending email based on the information in an excel sheet?

I have a file with the following columns: ID Number - Name - Email - Comments Is there a way that for each row and email is sent with the ID number, name and comments? Thanks!

View Article


Printing multiple pages from different Worksheets into single PDF

Hi everyone, A new member here and had a question regarding print automation within VBA functionality. I have setup macros in the past to print multiple sheets to a single PDF using something simple...

View Article


ComboBox on worksheet linked to a cell

Hi there. This is my first posting. I have a worksheet, and I want to place a combobox in a cell, but being able to add values not on the corresponding list. Done almost everything, but cannot find a...

View Article

Macro copying formula where i only want the values

Hi there I have the following macro which works fine accept for the fact that it copies the formulas from other worksheets, where as i only want to copy the values. Can someone please help? Private...

View Article

Macro to create unique id from email address and assign to repeated entries

Hello, I need help. I am creating a rollup file from hundreds of excel files each has the same structure Each file will have a dozens to hundreds of names and some files will share entries i.e Juan...

View Article

Copying sheets from a closed workbook - Excel 2013 crashes Sheets.Add

In Excel 2010 I used this code to import sheets from a closed workbook in the same folder as my master workbook: Code: ActiveWorkbook.Sheets.Add Type:=ThisWorkbook.Path & "\" &...

View Article


Separate data in a Cell using Macro.

Hi guys, I need help here. I got a column of data in format as below: Column 1: ABC - AC123 ASD - DS335 BBC - KK311 SWT - TR735 TIM - DN849 Between two texts to be separate, there is a " - ", we can...

View Article

Need someone to create GUI for excel spreadsheet!

I have a spreadsheet I use for my business that calculates my cost to build a given project. The spreadsheet has many calculations and I would like to be able to have a GUI for my salespeople to just...

View Article


Need help with VBA code for filtering/arranging data

Hi, I have an excel file which contains: columA columB columC columD ABC45 2502 .... etc ABC45 2503 ABC45 2504 DSE76 6589 DSE76 5123 FG345 5464 GFDR4 5422 etc... I need to arrange it this way: ABC45...

View Article

Image may be NSFW.
Clik here to view.

Delete row based on input

Hi experts, I would like a macro that prompts me to input the value of "pay period" column K. The macro should delete all rows except for where column K equals my input. Sample sheet is attached....

View Article


Image may be NSFW.
Clik here to view.

[SOLVED] Using a Variable to set PivotFields gives me an Error

Howdy Folks; I have attached a file that shows what I'm attempting to do. I have a loop (that is not shown) that changes the name of the pivot table field names on each iteration. I'm currently doing...

View Article

Image may be NSFW.
Clik here to view.

Macro to consolidate data from multiple sheets to one

hey all i have the following macro, however I am struggling to make it work on my file: Code: Private Sub Worksheet_Activate() Dim Sh As Worksheet Dim Newsh As Worksheet Dim LR As Long, NR As Long...

View Article

Create Workbook with 7 Passwords

I am looking for some help in writing a macro for an excel spreadsheet. Here is what I would like to create. I have a spreadsheet with 9 worksheets total. 7 of these worksheets are linked to 7...

View Article
Browsing all 50110 articles
Browse latest View live