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

Extract Data From Multiple Excel Files -> One File

Hi, Im trying to get some data from multiple excel files to one file using the following code. The macro now copies information from a excel file (G10:T10) and pasts it in a cell than opens the next...

View Article


Image may be NSFW.
Clik here to view.

Macro that can save a worksheet multiple times

I am looking for a macro that will do the following: 1. Copy a cell "A2" in "Sheet1" to "Input"cell "A4" then 2. Save the entire workbook as is to "C:\Macro" with the naming convention being: (The...

View Article


Macro to concatenate cell contents from subsets of data

804350-150710 P 1 804350-150710 CAP3/16BTV INSTALL: (SCRAP: CAP3/16BTV) (INSTALL: CAP3/16BTV) 804350-150710 P 1 804350-150710 CAP3/16BTV SCRAP: 804350-400680 P 2 804350-400680 45/2 SCRAP: (SCRAP: 45/2)...

View Article

Summing certain cells that have been filtered

Hi, question, can you sum a filtered range or does the sum function sum the non filtered cells? any one know? I have used the function to do this. Eg in cell (I9) there is a (0) and the next filtered...

View Article

Looking up and displaying a picture based on a cell value

Hi all. I'm a complete noob to Excel programming, and not much of a user of Excel in general. With that in mind, I'm hoping someone can help me here. :) Following this guide:...

View Article


Macro to remove duplicate callers

Hi- callers by month.xlsx I have a long list of names in column A, with the date they called us in column B. We run incentive programs for specific months. If they called within that specific time...

View Article

Fourth digit selection with macro

Hi, i would like to take only the fourth digits and what there is after. here an example: 053133348. I would like to be able that excel start from the first character and filter based on the fourth...

View Article

Image may be NSFW.
Clik here to view.

Copy and Paste Value macro on multiple sheets

I have searched on the forum for an answer to my problem but cannot seem to find anything. I have attached a example. I have 3 sheets (GP, CT and EL), each sheet represent employees and hours. The...

View Article


VBA Userform ComboBox: Content of ComboBox based off of Conditional Statement

I am looking to manipulate the content in the dropdown menu of a ComboBox. If x is 1, I want the content of the dropdown menu to be only "A". If x = 2, I want the content of the ComboBox to be "A" and...

View Article


Employee Schedule - Copy over data in different format

Hello All, I was wondering if someone can help me with an excel sheet that I have. I am currently setting up a schedule sheet for some of our trainers at our school. We would like the data setup in a...

View Article

[SOLVED] ComboBox to start from the last Row

Greetings , with this code, how can I let the combobox starts from the last record Code: Private Sub UserForm_Initialize() Dim cell As Range With Worksheets("Sheet1") For Each cell In .Range("C2:C"...

View Article

Sum cell values within the same range in multiple sheets with a criteria applied

Hi guys, Here is the task. I have an attendance tracker where I have different reports, controls and a staff listing sheet. In the staff listing, I have, obviously, all active staff with a unique ID...

View Article

Disable Delete Comment, Edit Comment, Show/Hide Comment

Hi, I have my workbook set up such that when a username and password is entered via a userform, certain cells in the worksheet are unprotected. I would like to disable Delete Comment, Edit Comment and...

View Article


VBA for today date in cell

Hi I want VBA to set if my active sheet cell L41 have today date then print if not then display a message to correct the date. I have 31 sheet in my workbook for each day of the month. Thanks RR

View Article

Macro in personal worbook, attempting to reference an On Action in another XLS

Hi, I have a macro in my personal workbook that makes lots of XLS based on a school number. (one spreadsheet per school) I create a macro button in each XLS that allows the users to lock the XLS and...

View Article


Export body of Outlook email to Excel

Hi Forum, I have a folder containing 2500 emails which all contain the same information. I am looking for some vba code to extract this information. I'm not too smart with VB so would really appreciate...

View Article

Code for insert copied rows

I'm trying to copy rows and insert the copied rows into another sheet. (To avoid overwriting the other data) If I put activesheet.paste it bugs. The macro recorder just records: Code: Selection.Insert...

View Article


Activate unsaved workbook from another workbook

Hello, I am trying to activate an unsaved workbook from a seperate workbook. The unsaved workbook is a report that is exported from another program into excel, I want to reference this workbook from a...

View Article

Moving rows and columns to new sheets conditionally

Hi all, I have searched other threads with similar questions but can't find one close enough to my specific application. I am using excel 2007. I have one sheet with many different columns, and...

View Article

Clearing undefined variable [Excel 14/2010] (VBA Only)

Say I am using the following in the first macro. Once the macro is completed, I use a 2nd macro to clear the fields on the spreadsheet to reuse it using the first macro. Is there a way to clear out the...

View Article
Browsing all 50049 articles
Browse latest View live