Error Message when opening a workbook
Wonder if anyone has come across this. I have a workbook with some userforms. When the workbook is loaded, it automaticlly loads a 'StartUp' userform. StartUp form has command buttons on it that...
View Articlecase sensitive string comparison
Hi I am using strcomp method to compare the login id provided in the userform with the login id already present in the excel sheet I want to make this search case sensitive if i use Login ID is ABC...
View ArticleVBA Code for more than 3 conditional formatting rules!
Hello Everyone, I'm a new member to this thread and forum and was hoping to obtain an answer to my question. I have an excel sheet with wide range of numbers, Ranging 0 to 70. I need to do the...
View ArticleVBA to consolidate/match data within a sheet
Hi Guys, I need help in creating a macro... so basically I want to match rows in (column a-g )within a sheet, once matched I want to consolidate data in columns (h-i) and move this row in sheet 2. See...
View ArticleHow to save Worksheet as separate Workbook?
Hi there, I have a button on the mane page of my main spreadsheet, which will bring up a user form, in which I can select a Template (Located on another worksheet, 5 different templates) and click...
View Articlecounter
Hello to all, I am looking for a macro for this: In F1 there is a counter. In G1 the macro inserts the current date. The next day in the H1 macro inserts the new date if two dates are different G1/H1...
View ArticleInherited Script for E-mailing Excel Attachments Using Gmail
Folks, I inherited the following script that creates and formats an excel document, then e-mails it. I'm not sure how old it is, but it takes an unusually long time to run (40-45 seconds per sheet)....
View ArticleOpen up a Lotus Notes Database (not mail) create a new post and attach files...
Hi All, I'm using Excel to open up a Lotus notes DB and then create a new topic and then attach a bunch of Excel files stored in a folder - I've tried many lines of code but it won't work. Code:...
View ArticleVba code to run my macro in all open workbooks
Hi all, I have a macro to get copy of sheet named "Doc Info" from workbook File 1 to active workbook. i could do it for one file on any active workbook. But what i would require is, upon executing...
View ArticleProgram a VLOOKUP formula
I would like to program this formula as VBA. Is this possible? If so what would be the best way to do this? The destination cell would be Q2. Thank you in advance! Code:...
View ArticleConditional formatting using VBA
I am trying to get code to apply a red fill in cells in columns B:C until last cell when the date < Today & Columns D until last cell if the column does not contain an "@" symbol, I am working...
View ArticleVlookup data and compare variances
Hi I have begun the macro coding for a stock report. The macro report has on sheet 3 the minimum stock numbers for each item which has a 5 digit stock code which I was hoping to vlookup in a weekly...
View ArticleProblems stopping chart animation with boolean
I am animating a chard on sheet1 with data obtained from sheet2. The chart reads cells B8:P8 on sheet 1 and these cells are updated in a for loop in my VBA code and followed by "DoEvents" so that my...
View ArticleApplication.EnableCancelKey = xlDisabled can be bypassed during Workbook.Open
Hi there, I have a long string of macros that have to run when a workbook is opened. There are updates happening during this process that involves opening other workbooks. In implementing the...
View ArticleFinding Min value of multiple columns in different sheets
Hello Everybody My problem is that i want to calculate the min value of some cells in the same row but in different coloumns and sheets. In the workbook I have uploaded you can see the sheet...
View ArticleAutoFilter and Sort using VBA
Hi everone, I am trying to get a small piece of my procedure to work. On the below line in red font, I receive error 438: Object doesn't support this property or method. I am simply trying to...
View ArticleCombining multiple macros into one
I have a userform that has the same type information on 3 different entities (name, address, phone, etc). The same research is required on each one i.e. you need to look up the zip code for each)....
View ArticleBypass "Select Data Source" Window after SQL Query executed
Hello! I have a small issue that is quite annoying and needs to be fixed. I'm running a program that updates several sheets for performance data and this pulls from a few databases: When I execute the...
View ArticleIF Statment
I have attached a worksheet that has an If Statement on the Worksheet Tab starting in G3. I would like to program these formulas in VBA. Im getting hung up on the fact that I am wanting to reference...
View Article