Macro to hide last column in a pivot table
I have a report that has percentage of row totals that just displays as 100% for the grand total column. I want to hide that percentage of row column does anyone have or know a macro that can do that?...
View ArticleListBox Selections To Change ReportFilter on PivotTable and then Execute Macro
Hello, I have created a ListBox1 that is populated by a PivotTables(1).PivotField(6) (which is a Report Filter called "Select Customer"). I could not figure out how to use PageField to select the...
View Article[SOLVED] If statement to end sub or continue
I'm battling with my first VAB IF statement. If the value of cell F14 is <> 0, then display a msg box and exit the macro. If no value in F14 then to continue to print Code: Â Â If...
View Article[SOLVED] Check Sheet Existence Continues to Raise Error
Seemingly trivial task - I have looked here and elsewhere, and tried a multitude of functions and subs dedicated to testing for existence of a worksheet equal to a string name - all with no luck. I'm...
View Articletransfer information from one sheet to multiple sheets if yes entered
Master sheet with columns A-N. Would like to transfer information from columns A-G (from master sheet) if yes entered in columns H-N. Example if yes entered in column H, information from columns A-G...
View ArticleNeed help witl Hyperlink in Email body
Hello everyone, I'm having an issue with the hyperlink I'm trying to make. The hyperlink is contained in an email created by the macro. The hyper link needs to refer to a file name provided in cell...
View ArticleContinue VBA code to next line
Hi guys I'm trying to continue a long line of selected ranges to the next, but it keeps coming up red, This is how i've written part of it (example only) Code: Range("D9,D10,D11,D12,D15" _...
View ArticleMove entire row to other sheet without inserting new rows
hi, I have searched the below code in this forum. It work but not that perfect. After all rows with "y" on column "J" are moved, it keeps inserting new rows when user clicks on the button (by...
View Article[SOLVED] Trouble with sub that runs on pressing enter after modifying cell's...
I have the following sub which is designed to run another sub, "mySub", once I change the value of cell H10: Code: Private Sub Worksheet_Change(ByVal Target As Range) Â Â If Not Intersect(Target,...
View Articlemacro for select empty cells and coloring them
hi again atm im using this code Code: Private Function Provera() As Boolean   Dim S1 As String, S2 As String   Dim lRow As Long, i As Long   Dim ws As Worksheet   Set ws =...
View ArticleUsing a drop-list to categorize and insert cells
Please see the attached file as I feel it explains it the best. Essentially, I am creating a template were users can categorize items they input with a drop-list. STEP 1: User lists their items that...
View ArticleClose Userform from within child Userform
Hello everyone. I faced with a problem I cannot solve I have a userform called "NewEngineer". In this Userform I have a textBox, and when "AfterUpdate" is triggered, child userform is displayed. Here...
View ArticleCreate Separate Workbook and Move any previous versions
Hi, I haven't taken a whack at this yet, as I don't have a tremendous idea of how to get started; but ultimately the following is what I'm trying to do, just wondering about any thoughts on how to...
View Article[SOLVED] Generate specific range of Uniq ramdon from a main range
Hi, yes, the post title Sounds weird (sorry) Please i need expertise on how to create a sheet to generate Random numbers from 2 specific list of a main list range of 36 Numbers. (List A = Specific 15...
View ArticleProduct lookup and auto-replace cell with new value
Hey Everyone, I am putting together a fairly large workbook and need a bit of help with one aspect of it. It's an inventory tracking and ordering system, and it has a couple different pages for...
View ArticleCascading user form combo boxes?
Hi all. I have a workbook that I'm using fpr courses booking, it has a combo boxes so that I can select manager name, area and delegate name and click command button which puts all information onto...
View ArticleLoop through a subset of worksheets will not work
Greetings, I'm trying to insert two rows in a subset of worksheets in a workbook by defining a range in a worksheet and loop through the worksheets in that range, but the code will only run on the...
View ArticleMake Sheet equal cell value + Date
Hello, Is there a way I can make the sheet equal what is in "A2" and the date? Say I have "John Smith" in "A2" I would want the tab to equal "John Smith 02 14" Is this possible? Also I'd like for the...
View ArticleHow to find hidden macros in a VBA project?
I have got an Excelsheet wich was created from my predecessor. My task is to change some details in macros. But I cannot find not one line of code! When I opened the file the first time I saw a macro,...
View Article