Replace blank cells in specified columns with specified text stopping at last...
Need a script to: Replace all blank cells in columns titled "Units", "Addresses" and "Type" with text "MISSING" repeat for each row in each column until last used row by spreadsheet is reached.
View ArticleSubtract from last cell modified by macro?
I'm building a work effort tracker for employees to record what they do throughout the day and submit it via email, and I've got everything but the "Undo" button working. Right now I have 13 buttons...
View Article[SOLVED] Macro to run if only folder found...
Hi, I would like to know how is it possible to only run a macro with IF command if a path is found in a computer. My desktop user is example, jc855, and my coworker is jc886. I would like to start the...
View Articlehelp with code relating to date and format
Hello. Someone provided me with this great code. Could someone explain what it is doing, particularly the middle part about dates and formats. Thanks :) Code: Sub copyOpenWB() Dim wb As Workbook Dim...
View ArticlePage numbering + start value
Hi all, can anybody help, I am trying to write a code where I can select anything from 1 to 80 worksheets and when I press print or print preview want the starting page number to be a number of my...
View ArticleMacro for Selecting and Pasting into new cells??
Hello, I have many orders or products and when listed in excel it shows the SKU's and name along with other data. I would like to take this data and use just the SKU's and Product name. Everything...
View ArticleVBA - Select one value in a list and mark another cell.
Good afternoon, I'm trying to make a conditional statement in excel, but I'm not getting. What I want is to select an option from a list, and depending on the value, I need to score or fill it u (with...
View ArticleHelp with creating a Macro to transpose thousands of data from row into columns
Hello, It would be greatly appreciated if someone can help me out with a Macro. I am using Microsoft 2010. I have data arrange like this: A, text 1, text 2, text 3, text 4 B, text 64, text 65, text 66...
View Articlewanting to CTRL+SHIFT+DOWN in a macro
I am new to macros, and am looking to do what seems to be more specialized than I thought it would be. I have a table of data I am working with, and a column has many blank entries (no data). What I...
View ArticleNeed help to create a time sheet
HI, I am trying to create a worksheet that can calculate the amount of time spent for a given activity. I have also attached the format that I am looking for. It would be of great help if some one can...
View ArticleHelp with sum by criteria
Hi, I need help with trying to write a sub that finds the total amount spent by each customer on the list (some customers bought more than once, so they have multiple entries in the list) and report...
View ArticleChanges to tint and shade 2007 to 2013 - help needed
Hi I would be grateful for any help anyone could give me. I am self taught in macros and can edit VBA to a small degree. I recorded the macro below in Excel 2007 to change the font colour to the...
View ArticleConvert to PDF Macro - Tweek needed
Hey, Im trying to add a macro to sheet1 that automatically converts to a pdf. I've used the following, but it converts all the other sheets as well. How can I make it so only Sheet1 converts and not...
View ArticleInclude array reference into loop
Hi ! I'm kind of new into programming and I would need your help on this one... I have lot of buttons and they are all named by the same prefix "BtnRAP1P_" and a number instead of the underscore. If...
View ArticleMacro to Copy and Paste
Hello all. This is my first post and I am fairly new to Excel so please bare with me. I am trying to setup a Macro to copy a column from on sheet and paste it to another sheet based on the current...
View ArticlePivot Table issue in VBA
Hi there, I need help with the following pivot code please. The pivot items "ACC", "FRY", "INS" qnd "OTH" may or may not appear in my range. The problem is that that macro halts if any of the items...
View ArticleCoding Convention Questions #1 (On Error Goto 0 before End Sub)
I'm mainly self taught at VBA so I make notes on various coding conventions/practices etc. that I pick up from books & websites. I've noticed that some of these conventions conflict with one...
View ArticleI need a macro which will add sheets using a template and name them from a...
Hi everyone, I'm new here and don't have a lot of experience with macros but here is my problem. Step 1: I have data coming from a data dump which is placed on the "Summary" sheet of my excel...
View ArticleCoding Convention Questions #2 (To clean up or not to clean up)
Here's the 2nd question. I have come across conflicting ideas on cleaning up variables before exiting a procedure. Suppose we have a sub like so: Code: Sub MySub() Dim lngLong as Long Dim varVariant...
View ArticleKind of like simple code, but for excel....
So when coding, say Python, you can set a value to something. Like James = bond Now 'James' is redefined as 'bond'. What I want to do is redefine a word, and then have that definition inputed into...
View Article