Preventing duplicate entry of a row in Sheet 2 while copying selected rows...
I have checkboxes placed at the end of each row on Sheet1. The rows which have checboxes selected, are copied to another sheet(Sheet2) on click of a button. However, I want to prevent the same row...
View ArticleError -2147467259 (80004005) Powerpoint could not open the file
I'm trying to open an Powerpoint presentation from Excel VBA. Code: Sub OpenPPT()    Dim Obj1 As Object    Set Obj1 = CreateObject("powerpoint.application")    Obj1.Visible = True...
View ArticleEvaluate String Inequality as Boolean
Hi All, This is my first post, so here goes: Is there a VBA function similar to Evaluate that evaluates string inequalities as well? For example: Str1 = "A" Str2 = "B" ineq = "<>" How can I...
View ArticleCircular Loop?
Can anyone help me fix this code? I'm not sure what is wrong with it. It seems to "work" if I resume next on error (spikes CPU usage for 5-10 sec), but completely crashes excel when I try to debug it....
View Articlevba code or formula assistance to associate a date, text, and value to a...
Hello, I tried searching the web for anything remotely close to doing this.. so I'm skeptical this can be done. With that said though, I thought before giving up I'd ask for any assistance or insight...
View ArticleExcel VBA to paste cells & chart to Word table cells
Hi Everyone - I am new to VBA and am unsure where to start. I would like create a macro to copy cell R14 (Name) in Excel and paste in the Word Table cell next to Employee Name, the comments (O17:V27)...
View ArticleLoop to Paste Values in a Different Column
Hey There!! In looking around the Forums, trying to find my answer there, I think I have this narrowed down to needing a Loop, but I have never done a loop before and am not sure how to tie it in...
View Article[SOLVED] Help Speeding up Slow Running Macro
I've looked around to try and speed up my macro, but none of the general tips I've seen work. I have a macro to check for failing grades on an XL for my students, and it takes between 9 and 90 seconds...
View ArticleFill cells based on content from different workbook
Hi, I'm planning to use a workbook as a database to store information. I need to be able to open a weekly schedule and import the Kit and Equipment that matches the row. Is there an easy way to do...
View ArticleDelete empty Range R:AA ShiftUp is too slow (3 Minutes)
Hello All, I'm using below code and it's running too slow apprx. 3minutes. Please help me to make it run faster if possible. Code: '''Delete Range R:AA if any S has value = "" (first)''' Â Â Dim...
View ArticleSheet with userform crashes on load. Possible issue with VBE7.dll
Hello, I've been having a very frustrating problem with a worksheet. The sheet contains a multipage tab with 13 or so tabs and a large number of controls (radio buttons, textboxes etc.) On load, data...
View Article[SOLVED] Macro to move data from one sheet to another
I have a workbook (attached). In the sheet named "Snow Hours" I have employees enter the work date in cell C1, and hours or tons in column C3 for each item in C2. I am trying to make a macro, that for...
View ArticleIssue with downloading > 1 Yahoo stock quotes in 2003 Macro
I am using Excel 2003 Hi, I looked over some of the threads and did not encounter on of this type. I have been working on an Excel Macro that downloads stock quotes from Yahoo each morning at 7AM. Once...
View ArticleMultiple IF statements down entire column
I have three columns ( FRUIT, NUMBER, PRICE) on a worksheet. The FRUIT can be 5 different types (apple, pear, peach, grape, orange). I am trying to assign a macro to the PRICE column (but not the...
View Articlehelp editing vba to filter data/paste new selection in new sheet
My table includes data associated with a code. These codes are 2 to 6 digits long. I've formatted that column as text and counted the character length in Column A. I've applied a filter to that column...
View ArticleNeed help speeding this up/general advice
Hi all. First post here. I use Excel every day at work and felt like learning VBA was a good step for me. I've written a program that I'd like you guys to critique as to its efficiency / any other...
View ArticleClassFactory cannot supply requested class - ListView error on different machine
Hi and Happy New Year, I have a userform that's using ListView to retrieve data from a worksheet. Everything works fine at work, but at home I cannot access the ListView control. At work my machine is...
View ArticleWant to run Macro on multiple workbooks
Hi, Quick question, I have the following Macro that will loop through all worksheets in a single workbook and dump each sheet into its own csv. It works great. The challenge is that I often need to go...
View ArticleHide/unhide cells depending on independent cell value
I need help creating a macro that will unhide rows depending on the # of substances that are selected from the drop down menu. Cell D90 will contain the drop down menu containing 0, 1, 2, 3, 4, and 5...
View ArticleAdding totals that meet a text and a data criteria
Hello Column A has dates, Column B has a list of codes (drop down list), and Column C has the totals. I have a summary grid on a separate worksheet where I want to add the totals for each month for...
View Article