Copy column from sheet to another workbook
Hi I want to copy values from sheet 1, column A:I to another workbook" data, sheet "data" in the same range. Thanks in advance :)
View Articlemacro duplicate file and change tab name loop
Hi, I have one master file with 3 sheets and I need to duplicate this workook 100 times and saving it based on a list of names. i'm hoping a macro can help me do this. example: sheet 1 sheet 2 sheet 3...
View ArticleuserForm -> Frame 'top' value limited. Dynamically created controls,
Hello, I'm working with MS Office 2007. I have an Access database with client's data. I'd like to show those data on Excel's user form in the frames generated dynamically - one frame for one client...
View ArticleSending excell with outlook
I used following code for mail sending, can some1 help to make it on specific time and not using BUTTON. Thanks. Code: Sub Mail_Workbook_1() ' Works in Excel 2000, Excel 2002, Excel 2003, Excel 2007,...
View ArticleHYPERLINK in an outlook reminder to an ALREADY OPEN workbook
Okay, This is an odd one. Is there any way to: Create an outlook reminder (already done, code below) that, in the body, has a hyperlink to an already open workbook on a specific sheet without asking to...
View ArticleSelect, copy, and paste text from HTML site
Hello, All, I was hoping to get some help writing some code that copies and pastes user-selected financial statement data from a website to a word document for further processing. The macro would do...
View ArticleMaintain Formatting when Pasting Data into a Cell with Data Validation
I have a number of cells/columns formatted to two decimal places where I've set the Data Validation to 'Decimal' so that the user can only enter a number, either as e.g. 12, which will display as 12.00...
View ArticleHow to concatenate quotation marks and a string variable?
This one should be easy. In VBA, what would be the proper syntax that would concatenate a quotation mark, a variable, and another quotation mark? In my line of code: Code: Dim strFirstColorBarCell As...
View ArticleSelect from a Data Validation Menu whilst preventing Pasting
I found this code on the forum which prevents the user from pasting into a cell which contains a Data Validation List: Code: Private Sub Worksheet_Change(ByVal Target As Range) Select Case...
View ArticleRefering to name with variable inside it
Hello, So I have a group of comboboxes with names that go Cor_Var1_X1, Cor_Var2_X1, Cor_Var3_X1..... I want to use the number after Var in a loop such that when I set the object I can refer to it with...
View ArticleSelecting all cells. Cells.Select is not working
This line only works when the 1st sheet is the active sheet. It doesn't work when the others are active. Cells.Select When the 3rd worksheet is selected, this isn't working on the 1st sheet:...
View ArticleTrying to autonumber
I am trying to autonumber an packing list and I'm not having any luck. I used some code that I found but I am really very new at this. I've been using Excel for years but not VBA. I grabbed the code...
View ArticleIn a cell, show modified date for a linked document
Hello all, I found, in another thread, the code for showing the modified date of a document in a cell, but I would like to take that a step further to show the modified date of a document from which...
View ArticleVBA Macro to insert number of rows on a different worksheet based on varying...
I have tried writing different bits of code for what I need, but nothing seems to work like I think it will. I need to write a macro that will assess the values in column A of Sheet2 for being >1,...
View ArticleAutomatically format chart size and axis
I have a scatter chart that I am using as a map. In other words, if I have a space that is 100x200 feet, based upon other criteria the chart will plot a location or multiple locations. What I would...
View ArticleHow do I define a range of cells without using the "Range" property
I need to sort an entire worksheet going from Columns A to J, and from Rows 2 to n. "n" is a variable that represents a number that will change from time to time. For now, let's just say that n=10. But...
View Articleconvert row to separate records
I would like to be able to take a file that looks like A and rearrange so it looks like B. The first number is an order number. The codes below them are item numbers. Each order ends with END. Any...
View ArticleI need help range selection and cells selection
Hello everybody, in my vba learning process, i have one question of this below. Is these below create same purpose action or different? Please help me. Code: range("a"& i).end(xlup).row Code:...
View ArticleCombine multiple rows into one with a unique identifier
Hello: I need to combine data that was provided in two rows into a single row. The data has 2 unique identifiers (student_number and date). I've attached a sampling of what the data looks like and the...
View ArticleRandom Selection Macro by Location and Ranking (High/Med/Low)
Hi all, I am looking to create a macro to provide a random testing list of people based on their location and ranking. For example, wanting a list of a sample list of 3 individuals located in Sydney...
View Article