Getting run-time error 1004 application-defined or object-defined error
Hi friends, The data is in columns B:G. I want to hide entire columns from I:XFD. Im getting run-time error 1004: application-defined or object-defined error on the following line: Code:...
View ArticleMacro Recording to work in an active workbook
I have recorded a macro that automatically creates a pivot in an active workbook but it seems lilke it recorded the actual file name of the workbook. I would like to be able to run this code in every...
View ArticleProperty to indicate macro is running
Is there any inbuilt property that indicates whether a macro is currently being run? I looked into Application.Interactive but this still remains true while the macro runs.
View ArticleAdding a validation formula when it evaluates to zero
This code successfully updates the validation formula in the desired cells when a valid value exists in the prescribed MATCH cell above. However, it errors out it errors out at the .Add Type line when...
View ArticleWhy does Excel crash when selecting code, possibly vba issues.
Firstly I have no VBA experience. Reading through the forums, I believe it was requested to label everything within the code. But it's hard to label everything, because I'm not really sure about all...
View Article[SOLVED] Linking -- a faster way?
I want to link my "1-31" sheets to my averages sheets. However, I realized this is gonna take a long time. Is there a faster way I could do this?Nalco Water Chemistry.xlsx
View Article[SOLVED] Sort individual column Alphabetically
Hello: Please refer to attached file. I have lots of data in column B thru Column E I need an easy way either by VB Code or other mean to sort alphabetically the selected column form dropdown list in...
View ArticleHighlight Textbox Text during a loop
This is driving me crazy... I found a lot of information online, but it is confusing. I have a userform that loops through data and enters the current value as textbox1.text. I want the textbox1.text...
View ArticleHelp With Compare Two Excel Sheets And Merge
Hello, I have two sheets (sheet1, sheet2), and column "A" being the master identifier for both sheets. I need to compare both sheets, and what ever is common between both in column "A", I need to copy...
View ArticleFunction in two or more places
Hello, I have a function which is working for one place in the Sub code: Code: Public Function Counter(ByVal ctl As Control, s As Double, rng As Range) As Double Dim size As Double With...
View ArticleMacro to rename cell content based on the starting character until found same...
Hi , Is there a macro to to rename cell content based on the starting character until found same character . B1 Cafe B2 qty B3 unit B4 Cafe B5 Lobby B6 qty B7 unit B8 Lobby It will Be B1 Cafe B2 Cafe...
View ArticleMacro GUI to input data to certain cell
Hi, Is there a macro to input data to certain cell using GUI. For example when I press ctrl-X there will pop up windows GUI asking Location =1.Cafe 2. Riva, then another windows GUI appear asking Type...
View Articlechange cell upon cell
dears ,, as usually excpeted form you , i need a support in a small thing i think . 1) is there an option to disable a cell ? make certain cells in grey color as disabled ? what i want , i have two...
View ArticleLarge Data base, need to sift through and find duplicates to find x.
Hey guys, Ill just get right to the point. I have a database of about 400,000 lines. My goal is to fill in all the commodity codes. The rows in the above picture with N/A can be filled in with the...
View ArticleData entered by barcode scanner distributed automatically to other Sheets in...
Hello Have a little problem hope you guys can help. Posted this in General but was advised to move it here. Sheet 1: Data entered into column A only, consecutively by a barcode scanner. Ex; column A...
View ArticleRun-time error '6' overflow
please how can i tackle this problem in my excel file. i need someone to help me fix it...... Please.
View ArticleAdding Text to a Shape with VBA
I have a Shape (rounded rectangle) that I want to add text, then edit the text via VBA. When I record a macro doing this, the closest I can come is code that copies new text from a cell and then...
View ArticleHide columns basic on user selection a week
I need a way in a user form for the end user to select a 1 week time span. The one week time span to be able to start on either Sunday or Wednesday (depending on user form). I do currently have a...
View ArticleFind not working with numbers
Hi, I have a script that looks like this: Code: Set rngGraph1 = .Find(What:="YY", _ After:=.Cells(1, 1), _...
View ArticleMacro to mirror(copy) present sheet to new
I want to copy this spread sheet to a new sheet by clicking on a button or new tab using a Macro. Is this possible or is it asking for a lot or impossible to do? Thanks Attached Files Single...
View Article