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

Highlighting a cells in a column

Hello everyone, Am new to this forum but before it helped me to solve many problems for me. Now my problem is, I have three columns A B and C which contains Ac.Number, Name and Balance. and D1 to AH1...

View Article


How to use a macro to save worksheet as pdf with the name of a specific cell

I found a code on here that does what I need all except it doesn't name it accurately for my needs. Here is my code. Code: Sub SAVEPDF()     Range("A1:S53").Select     Selection.ExportAsFixedFormat...

View Article


Worksheets are not protected when workbook is closed via Application.OnTime...

I have a Workbook_BeforeClose event to protect the worksheets and saves the changes before the workbook is closed. I also have an Application.OnTime procedure to close the workbook after 10 minutes of...

View Article

Copy data in certain columns in one worksheet to a second worksheet

Hello, I am new to macros and VBA programming. I am working on creating an Excel timesheet that will allow me to enter in the employee schedule and keep track of the hours worked. So far I have been...

View Article

macro that loops through a given range of sheets is freezing

I got a similar macro off a forum and adjusted it for my needs. When I first ran it it worked but then crashed excel and I had to go looking for the macro again because I hadn't saved it. Now I must...

View Article


Number formatting in VBA

I am brand new to VBA and am running through some beginner examples. I have written the following code, but I was wondering how I could format how the number is presented in the msg box. Currently the...

View Article

Help with Vlookup / Hlookup (or anythning else that will solve problem!)

I have some data as per the below spreadsheet (data changed). I need to be able to create an absence timline for each staff memeber as shown in the results I am looking for. Can anyone please shed any...

View Article

deleting rows with interval (dynamic range)

Hi guys, I'm having trouble with a macro : ( the main goal is to create a code that deletes the 9 first rows, then leave the next 37 rows, then delete the 7 rows, then leave the next 37 rows, then...

View Article


Running Call Procedures & Macros on all Worsheets in Workbook axcluding a...

Afternoon Folks, Looking for a bit of help again, please? I have finally managed to import a number of CSV files into one spreadsheet using a macro... my intention now is to use a series of macros as...

View Article


Macro to insert comments containing contenet of different cells

Hi all, Im new to this so please bare with me :P !! i have only started using macros recently so not good at it at all. here is the story i have around 30 something worksheets all with the same format...

View Article

Bringing image in to excel

Dear All, I have a folder which contains images, all these files are saved with the employee code. I need to print ID cards for these employees. Is it possible to bring the image in the format craeted...

View Article

Sorting Tables

Good Afternoon Guys, I wonder if you can help me, i have a sheet that has multiple records on, over 6000 and i need to make a new list adding together the record when C,D & G match. So the table...

View Article

Search for value in multiple columns, Return Column Headers

Overview of Project: I have many different tables that all have different columns in them. Some columns may occur on different tables. All the data is "linked" and the only way to do that is to find a...

View Article


Date isssue keeps changing the month and day

All I'm running in the "Immediate" window is the following; cells(1,1) = "01/04/2013" Date appears in the cell as "04/01/2013" but right aligned cells(1,1) = "23/04/2012" Date appears in the cell as...

View Article

Hiding Columns in a table if ALL the cells in column are a certain value

Hello All, Quick Question Data Parameters: A1 . . . BE1 = Column Headers of 'Table Names' A1 . . = Row Headers of "Components available in table" . A554 So basically my column headers are a bunch of...

View Article


Image may be NSFW.
Clik here to view.

Dynamic array, info one sheet to another based on criteria then macro to...

If (workbook) Tourofdutyrecord (referance sheet) sheet2 $C4 $E84 (criteria) any one of the following “7, 7C, 7CMTG, 7MTG, 6, 6C, 6CMTG, 6MTG” if criteria met then get name after (comma and space) from...

View Article

can i convert Excel Sheet to exe file

can i convert Excel Sheet to exe file, if i can how? thank you

View Article


Need Help Creating a macro

Hello All, I am new to the macro/vb side of excel so I would really use your expertise! This is my situation I have 3 sheets currently Sheet A (Named Pilot), is the first step of a product- This sheet...

View Article

Image may be NSFW.
Clik here to view.

Getting error 91

HellO Friends, In my code I'm getting error 91 and the macro is not running. Please find the mistake in my code and send me corrected code. Please see the attachment. Sort_access is a sorting macro...

View Article

Loops within loops

I have two rows and two columns: 5 8 2 2 I want to fill in a third column such that I have the number from column 2 if the col 1 and col 2 are different I have a randomly selected number if col 1 and...

View Article
Browsing all 50123 articles
Browse latest View live