[SOLVED] Creating a Macro that makes a list of missing items
Hi, I'm trying to create a macro for a list of stock items that are missing from different stores. If a stock item is missing from a particular store the shop is listed in the next column. I have...
View ArticleSending activex objects to subroutine for alterations
Hello, This is brief: if anyone has any information on modifying ActiveX controls dynamically - brief explanation: I want a sub that I can send any button, listbox, label etc . . . to - objects that...
View ArticleTwo column ComboBox Add from Named Ranges
I have a "Navigation UserForm on a project for 3 teams. I currently am using a single column ComboBox filing from a named range. It's used to set folders for saving reports generated by my main...
View ArticleFunction/sub exiting early except when called from Developer tab
I have a sub that performs a variety of actions such as taking inputs from a worksheet and outputting to another as well as modifying a chart object. I want the sub to be "volatile" so that it...
View ArticleCreate a today bar that will refresh to show the current date
I would like a bar that would show in a series of dates, which day it is. Please see the attached excel document for what I'm looking for. Thank you!! Attached Files Today Bar Help.xlsx (9.7 KB)...
View ArticleWorkbooks.close SaveChanges:=True question
This might be a dumb question, and searching I can't find the answer. As everything is related to the "prompts." What I am wondering is if there is a way to suppress the save progress/cancel box that...
View ArticleVBA to copy rows from one sheet to another sheet
Hey Everyone, I have watched toooo many videos and I need help. This is my first time posting here so please help me. I have a sheet that I have been using and I want to simplify some things. On the...
View Article[SOLVED] Setting dynamic range producing error 13
Hello experts. I am looking for a little clarity. I'm curious why an error 13 is thrown when setting the range. Code: Dim s As String: s = "temp" Dim rng As Range Set wb = ThisWorkbook...
View ArticleIs there a way to speed up the calculation process?
I am currently working on a file that performs various calculations using multiple functions. There are 8600+ rows and it takes about 45 minutes for all of the calculations to execute. Is there a way...
View ArticleObtaining Email Address associated with Office Account
Hello! I am looking for a VBA that can recognize the Office365 account email address associated with the user who is opening it. For example, if I open it on my computer that has my office365 account...
View ArticleReferencing a Column Header that contains '#' in its title
I'm having an issue where I would like to reference a column based on its header in one of the tables on my sheet, however because there is a '#' sign in the header name it is throwing me a 1004...
View ArticleNewb Help. Copy Worksheet from one file and another, with a twist
I have data in Workbook A and I need to copy one of the worksheets to the end of Workbook B. I need a macro in Workbook A that will: Prompt the user for the file location for Workbook B. Copy...
View ArticlePublic strings keeping values after a macro is completed
Hello everyone! I am having issues with a few of my public variables that are keeping the values of that were stored in them in the last run (Excel wasn't closed). How do I reset the values, without...
View Article[SOLVED] End of Month Vs End of Week. Pick EOM if earlier.
I've been working on and developing an exported report via Excel and VBA and had originally set it up to be a monthly workbook. However, I need to make it more of a End of Week up to the last day of...
View ArticleUserform Intialize selecting listbox to textbox
Hi, I have 10 listboxes in my userform and I can double click each listbox lines and populate information from there to 10 textboxes. Im wondering if I can in Userform Intialize, once the userform...
View ArticleConvert string to Range
I have a large range of cells I need to define: Code: Dim D_KeyCells As Range Dim E_KeyCells As Range Dim G_KeyCells As Range Dim I_KeyCells As Range Dim J_KeyCells As Range...
View Article[SOLVED] Referencing variable from another sheet
Hello, I'm trying to figure out how to reference in a userform's code, the value of a range variable from Sheet1. I tried different approaches but this is out of my league. I get the value from a cell...
View ArticleVBA / Power Query to copy sheet 1 data to sheet 2 below the last used row
Hello all, I want to copy data from sheet 1 to sheet 2 below the last used cell/row. Attaching excel file for better understanding, I want the highlighted cells to go to sheet2 with M or VBA code. or...
View ArticleWorksheet_Change
How do I get this running twice on a single sheet? This targets A1 to perform this function, but I also want the function to be performed if B1 is changed. Code: Sub Worksheet_Change(ByVal Target As...
View ArticleMerge cells based on the cell value updated on other column
Dear Tram, I am having problem on copy paste value on there sheet. My code is Code: Dim actWsh As String Dim sh As Worksheet, ws As Worksheet Dim LstRw As Long, Frng As Range, c As Range Dim lItem...
View Article