Print Preview Freezes my code
Hi all An odd type of problem. I create a small report populated by various data into a predefined sheet then allow the user to print the report, using preview. This works fine when I run a Userform,...
View ArticleGreying out Buttons
Hi, I have a spreadsheet with 5 x buttons named - Bob, Don, Bill, **** and Jim, I would like to control whether these buttons are available (i.e. greyed out) depending on values in the spreadsheet....
View ArticleAddress Label Creation Macro
I am trying to figure out how to create a macro that can create address labels from a spreadsheet. I have to create address labels for postcards from excel lists. The list changes but the fields and...
View ArticleEntering data in sheet1, having the data in sheet 2 returned to sheet1
Greetings-The title of the post may not be correct for what I am trying to do but I need some help! I have a basic "form" in sheet1. I want the users to enter a Unit number in Sheet1B8 and have the...
View Article[SOLVED] UDF for arrays
Hi, I have a user defined function which I'd like to return some numbers as an array. i attach Excel file as an example. The basic principle is this: 1) In VBA I create function named Test and assign...
View ArticleCreating a list of data pulled from multiple worksheets
Hello, I have searched this forum for a solution to my problem and have only been able to find a partial solution. I have a workbook with 5 worksheets. Sheets 1-4 have identical format (each sheet has...
View ArticleVBA to Pull specific XML Data from Web
I've seen in other posts specific text value extracted from nodes to cells in a sheet from web xml files I'm trying to do the same thing, but am having no success editing VBA I find. I have a list of...
View ArticlePrint area and borders macro based on cells contents
Hi Guys I am trying to get a few things together in the same macro, i have most of it but it's messy when i put it together and doesn't quite work. My intention was to clear print area, have the first...
View ArticleMaking a Viewing Pane!
I am trying to take the value of the current selection and have it shown in a message box. The problem: msgbox character limit is too small. I Tried making a userform as that seems to be the solution...
View ArticleAutomatically update the contents added on Sheet 1 to Sheet 2 & 3
I need some help to be able to automatically update the contents added on Sheet 1 to Sheet 2 & 3. I've in Column A Cell 45 the name of an auto driver with some particulars in Row 45. The tracking...
View ArticleIntermittent Error 1004 on Selection.PasteSpecial
I found code from Microsoft to Export Data to PDF or XPS Using the Excel.ExportAsFixedFormat Method and was able to make it work with a macro I created but it only works every other time I use it....
View Article[SOLVED] Unable to maintain formatting on find/replace
Hi there, New to the forum so be gentle! Working on a sheet to automatically replace specific text in a search string with either today's date or yesterday's date in UK format (dd/mm/yyyy) dd/mm/yyyy...
View ArticleSave worksheet selection to .csv
Hello, I have this macro to save a selection of a worksheet to .csv, but it is not working on the Mac Excel 2011. I get the error: 'GetSaveAsFilename' of object '_Application' failed I had help...
View ArticleMouse Pointers
Guys I have an image. when the mouse move over it I want the pointer to change to a Hand when I go to the mouse pointer property there is no hand pointer when I try to use custom and load a icon for it...
View ArticleDelete target row plus trailing empty row
Hello! I am stuck on a project and I'm in need of a little assistance. I have found and modified some code that allows me to delete a row that contains a cell that has a formula that is no longer...
View ArticleMacro to copy and paste range form one sheet to next available row in 2nd sheet
Evening All, Could i have assistance in getting some VBA, to copy a specified cell range in a worksheet to a list of data in another sheet. i have to build a data entry form, but keep it as simple as...
View ArticleActivate 2 dropdowns with one command button
Hello! I have this on a command button but would like to use 2 drop downs (Drop Down 7 and Drop Down 12) since I have 2 ciriteras for searching (columns 1 and 3). This code filters on selection, then...
View ArticleCounting cells within a row
Hello, I am very new to VBA. I'm trying to make a macro and part of it involves counting the number of cells within a row. What I am looking for is some code that counts the number of cells within a...
View Articlehow to select specified # of rows in a column using "union"
Hi: I'm a total amateur at this and am stuck. I have the following existing code: Code: Union(.Range("a1:b1"), .Cells(1, i + 2), .Range("cp1:cs1")).EntireColumn.Copy _ Sheets(i +...
View ArticleI want a macro to merge a sheet of two column data to another sheet
Hi: Please help me to write a macro for the following problem: I have two sheets. Sheet1: Column A Column B ABCuc24556 To be postponed ABCuc24557 Discussion will be later ABCuc40001 Not reproducble now...
View Article