Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Browsing all 49946 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


case 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 Article


VBA 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 Article

VBA 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 Article

How 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 Article


counter

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 Article

Inherited 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 Article

Open 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 Article


Protect a cell

How to protect a single or multipal cell in excel

View Article


Image may be NSFW.
Clik here to view.

Vba 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 Article

Program 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 Article

Conditional 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 Article

Vlookup 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 Article


Problems 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 Article

Application.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 Article


Image may be NSFW.
Clik here to view.

Finding 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 Article

AutoFilter 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 Article


Combining 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 Article

Bypass "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 Article

IF 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. I’m getting hung up on the fact that I am wanting to reference...

View Article
Browsing all 49946 articles
Browse latest View live