Macro to hide multiple columns
I need help creating a macro to hide and unhide several non-adjacent columns based on a value in cell D2.
View ArticleComboBox not holding name correctly - Excel VBA
I have a MultiPage UserForm where page 3 has a combobox for the candidates full name. Everything on the page is tied to that combobox. After the data is all entered for that candidate, the user clicks...
View Articlesave pdf to Active directory and name as cell value
I can't seem to get this code right. I want to save a print area in the active worksheet as a PDF. It needs to be saved in the current active directory (where the workbook is stored) and named...
View Article[SOLVED] Macro to auto fill in cells based on value on different cells
I've got a spread sheet with one tab called "reject codes" full of reject codes, station numbers and descriptions. I have another tab called "defect detail" where I enter the month, date, shift, reject...
View Articleall graphs at once (in one spreadsheet)
Hi everybody, I am looking for a way to do the following: Problem description: Within a folder there are plenty of Excel files (always random names-depending on content) so *.xls. Each of them has...
View ArticleMacro to Delete Multiple Values
I am sending out a mailing to leads that I have in my excel database. The problem is, I do not want to send them out to certain cities, as they are too far away. I have a list of cities that I want...
View ArticleSQL Server into Excel via Macro via Private Sub Workbook_Open
Hello, I am working on a worksheet that pulls data from SQL Server. I want it to do this via "Private Sub Workbook_Open()". I am currently pulling data using "DATA--->FROM OTHER SOURCES--->SQL...
View ArticleForce users to paste values to first available row in another workbook
Hi there! This is my first post on this forum and i am not from the US so please have som understanding with misspelling and those kind of things. I use excel 2010 in my first language (swedish) so...
View Articlemake input mandatory for specific cell in a row if any cell in the same row...
Greetings, I'm new to this forum but have visited many times for great ideas. This time i'm stumped. I have an applications tracking chart with dozens of rows. I'd like to make key cells in each row...
View ArticleMacro not populating pivot table with only one row of data
Hello, I've written a macro to import data from 22 Access database queries into 22 excel 'Data' worksheets. From there, a macro was written to create a bunch of pivot tables for each of the data...
View ArticleRSA Subs Macro Fails Excel 2007
I have built a macro to allow me to match names of people paying subs with my members list in Excel 2007. It is a slightly changed version of a procedure which worked very well in Excel 1997. The macro...
View ArticlePutting link to file/attachment in an email
Hi I have the following code to send an email from within Excel, I have two files I want to send out when the macro is run - one should be attached (basically Save and Send), the other should be put in...
View Article[SOLVED] Unique list depending on a variable
Hi! Could someone direct me in the correct direction on this? I've been thinking about this and I can't seem to find a solution. I'm trying to get a list with unique of values depending on what is...
View Article[SOLVED] Using For..Each and Find to search for an item
Hi, I have a named range of cells to search. It's called StdEng, and is about 60K cells I'm none too clear about the syntax of the For Each loop, or Find. What I need to do is search through looking...
View ArticleUse Macro to convert specific row to CSV
Hi, Totally new to programming Macro's in excel, what i'm trying to do is take the spreadsheet i receive from work each week with my shifts in and convert it into a format that google calender can...
View ArticleNeed advise to revise some code to copy data from one workbook to another.
Code: Sub MainMacro() Dim ws As Worksheet: Set ws = Sheets("Sheet1") Dim wb As Workbook: Set wb = Workbooks("Received.xlsm") Dim wksht As Worksheet Dim lastrow As Long, icell As Long Dim sNum As...
View ArticleFind next empty cell in column
I need a macro to find the next empty cell in column A and enter the text "letter sent" with the current date entered in the corresponding cell in the column to the right. In other word, If A6 is the...
View ArticleDelete empty row and then delete duplicate
Dear all i am the beginner of excel. but i have a huge data need to analysis. Data example: E 003265 30/09/2012 2-2100 Kyocera Document 1,972.73 30 E 003265 05/12/2012 6-1240 Kyocera Document 1,972.73...
View ArticleAdd Date in Column A Plus Number of Days in Column B and show result in Column C
I have been having a hard time finding a way to do this for something that seems to be somewhat simple. I have the following example data: Column A Column B Column C Start Date Days End Date 01/30/2013...
View ArticleCreating a new xls sheet from a existing one with certain columns.
Hi , I am very much new to macro in MS xls .I am using 2003 version. My requirement is : Project.xls A B C D 1 12 Closed 12/12/12 Code is completed. 2 15 Open 12/01/12 Analysis in Progress. Suppose a...
View Article