End If without block If
Part of a macro is below. There is an alternative block for 'PN. To get over the problem do I have to put "End if" after " ActiveSheet.Paste" then begin another "If" block? I'd prefer a method of...
View ArticleDisplaying data in a listbox
Hi This is my first post on this forum, so sorry if I doing any thing wrong or not with in the rules. The problem I have is that I have written a piece of code in VB excel windows 7. The code looks in...
View ArticleCopy data and file name into master sheet
Need to copy data to sheets("master"). Also need populate the sh.name associated with the data into column A of the master sheet. I have 20 worksheets to go thru, how should i loop it? Thanks. Attached...
View ArticleStop Excel asking if I wish to run one of my own vidoes
I have recorded a number of videos which I wish to run by simply clicking on a cell into which I have put a hyperlink. When I click on the cell the following message always appears: Opening C:\User\......
View ArticleFinding string not finding
Being fairly new to VBA, I have had some luck finding problems and modifiying code, however I have a problem that has had me stumped for over a day. I want to look for a name in a list, but I get an...
View ArticlePull data with specified criteria
Good day Excel Forum Looking for some help on a macro that will enable me to extract data by specifying a criteria. I get 5 spreadsheets every hour. These have cumulative data for each unique name...
View ArticleHow to ammend a GUI made in Excel ??
Greeting All, I have downloaded a file in "xls" format from internet. It contains a Market Analysis Questionnaire in GUI Format, you answer the question and based on your answers the file generates the...
View ArticleUserform Dependent Lists fails to display when OptionButtons added
Hello, I have modified a Parent/Child/Grandchild Dependent Listbox example that was kindly posted by D.Kusleika of Dailydoseofexcel. I have added some option buttons to the Userform, but in so doing,...
View ArticleSelecting a range of cells using ActiveCell where the start point is variable
Hi All I'm trying to develop a code that selects a range of cells, copy's and pastes them to another sheet. The problem is that the second set of data is on the same sheet as the first set I can...
View ArticleI need help writing an Macro that looks up values and copies and pasts them...
Hi All, I have an spreadsheet that currently hold data from the payroll system and it is sorted by Column "J". I want (reads "need) an macro that will look up values in J for example "Melbourne Cup"...
View Article[SOLVED] VB Projects and XLM Sheets cannot be saved in a macro-free workbook.
Hello XL Guru, I got no idea why my new work book not working. While the old workbook i used the same code is doing fine but not this. Code: Private Sub Workbook_Open() Dim wSheet As Worksheet For...
View Articlecreate macro to update master calendar
Hi All, I am trying to create a master calendar, where I can filter 24 different peoples calendars through. I'm nto sure the best way to do this. I have created the attached template. I do not have a...
View ArticleUpdate query via Excel VBA - incorrect Sql statement
Hi All, I try to create an update query in order to update an access table. See the files attached. Two questions, does somebody have some suggestion how to write the sql statement in the correct way?...
View ArticlePastSpecial overwrites where I want to append
Hi there, I am new at VBA and I am working on my first project. I have several detailed workbooks from which I want to copy a certain table to a central workbook. Below is part of the code that I have...
View ArticlePreventing Duplicate Entries
Hi I have a userform where users enter data and select a date and a time Worksheet ("CVdata") Column A = Date Column B = Time Column C = Gen Debt Userform Date text box = CVdate Time comboBox =...
View ArticleMacro for a database
I don't use excel that in depth so I had posted this in the formulas area and they kicked me to the curb and said come here lol so here I am. Quote: I have been searching in here for a certian formula...
View ArticleClear All of The Unlocked Cells Except 1 Particular Cells
Hi All, i got this code from Google, Code: Sub ClearUnlockedCells() Dim wks As Worksheet For Each wks In ThisWorkbook.Worksheets On Error Resume Next wks.UsedRange.Value =...
View ArticleA macro for crypto!!!
Hello everyone. I just want to say that this macro will make many things easier for me. Let me explain. I'm going to write a novel or say some kind of thing like that and I need a private language...
View ArticleHow to add multiple cells in VBA code & prompt with msgbox when cells incomplete
Hi, I have the code below & want to add ranges rather than individual cells, for some reason when I add a range i.e B11:B22 it gives a type mismatch error. I know it will be something simple but...
View ArticleSending out sheets to different people
Hi All, Ok I have an workbook that has 8 different tabs in it however I need to send each tab to one recipient. The email addresses are in an sheet called "Deduction Dashboard" and are from ranges...
View Article