Merging data from many workbooks into one summary sheet
Hello group! I have a problem with some code I got off Microsofts Excel site... Well its more of a mod, than a problem. What i want to do is take a folder (I am using the RDB_Merge_Data_Browse macro...
View ArticleHow to use macros to open hidden tabs from a master worksheet?
Hello, I am creating a document that has multiple tabs (up to 300!). I would like to have only the 'master' sheet visible. On this master sheet, I have a number of descriptions that currently hyperlink...
View ArticleDefine a Variable that equals the Row Number I have selected when I start the...
Hello, The answer to the subject will solve my problem--if I place my cursor in a cell and then start a macro, can I get it to "grab" the row number I'm in for use later in the macro? I've tried a few...
View ArticleExpanding Group using VBA
Hi All, I am trying to expand a certain grouping when an "X" is selected in a drop down menu in the row above where that given grouping begins. I have tried recording a macro but it does not seem to...
View ArticleMacro to delete data for the cells specified
hi all, i wrote a macro to store the output in a worksheet based on dropdown selection. if i selects one value from dropdown the macro is getting trigered and the data is getting stored in a worksheet...
View Articleautofill row with variable column (date)
Hello all, I am after a macro that will allow me to add one week of dates from cell(1,7) which refers to 01/04/2013. Every time I will run the macro, the header auto fills one week of dates. cell(1,8)...
View ArticleProcessing dates into an array and then outof array
Hi, I have enclosed a simple macro to show what i am trying to do. Basically, i have a column of dates. I assign this column of dates to an array............FYI: the array is a variant array and not a...
View ArticleWorrying too much about processing time?
I'm new to VBA. I'm finding myself obsessing maybe too much about processing time. I totally understand the obvious things, like operating on addresses/ranges/variables/arrays rather than in active...
View Article[SOLVED] Macro to insert rows every x rows
I need a simple macro to insert a row from row 6 onwards every 2 rows down as fas as row 2000. So it would be like me manually going to row 6, highlighting row 6, right clicking and hitting insert row,...
View ArticleSave Workbook at End of Month with Macro
I have a workbook that needs to be archived at the end of every month. I figured trying to create new sheets etc would be more hassle than its worth, so I just created a macro that I assigned to a...
View ArticleCombine data from 4 workbooks and then export filtered data to individual files?
Hello group! I am new to Excel macros and VB and working my way through this! I need to create individual Excel files for each of our resources to fill in their timesheets every week and wanted to find...
View Articlehide or unhide rows based on text within a drop down list
Good day, I'm new to this forum and to excel VBA functions and I require some assistance. I am trying to get my worksheet to hide or unhide rows based on text in a drop down list that was completed via...
View ArticleCopy ranges into last row of table
Hello everyone, I am trying to copy (conditionnally) 7 consecutive cells into the last row of a 7 column table, in the same order. I have done it the following way:...
View ArticleVBA - 'on error' code problem
Hi all, I have an issue regarding 'on error' function in the macro below. Basically, this macro is giving me the findings in a drop down list for each line. For example I have in cells A1 and B1...
View ArticleApplication.Match with two sheets help. Getting different errors with every...
Here's my Code. Private Sub CommandButton1_Click() Dim FoundCell As Long lCol = ActiveCell.Column lRow = ActiveCell.Row W_Num = ActiveSheet.Cells(lRow + 1, lCol) FoundCell = Application.Match(W_Num,...
View ArticleMacro to find the empty cell in a column and copy a adjacent row to another...
Hello everyone, I have a file in which I have names of 300 customers. We use to collect monthly instalments from them and if they haven't given money for the month then a cell adjacent to their name is...
View ArticleHelp with End Sub Error in Code
Hi I found this code which creates sparklines (small line charts) on a website (Can't find the website again). Whenever I try and run the code I get the following error: Compile Error Expected End Sub....
View Articleslow code to replicate a sheet
This code replicates a month removing certain elements from a current sheet but its quite slow....anyway to make this more efficient? Code: Private Sub CommandButton1_Click() Dim NewSheet As Worksheet,...
View Article[SOLVED] Button to display a cell at the top of the screen
Hello all, I have a button that goes to a specific cell but the cell is shown at the bottom of the screen and not the top. It's a little nit-picky of me to want it at the top, but at the same time,...
View ArticleKick out Inactive users except in read only
I used the VBA from here http://www.excelforum.com/excel-prog...-workbook.html to kick out users when they were inactive. However, users do not need to be kicked out if they enter as read-only. Is...
View Article