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

auto-copying text and data from one sheet to another stock take sheet

Hi all I am fairly new to excel and have got around the basics but I want to create a basic stocktake work book in excel, and I just need to automatically copy columns from one sheet to another. Each...

View Article


Retain VBE Reference Library Globally

Attempting to set a reference to the Microsoft Visual Basic for Applications Extensibility 5.3 per C. Pearson instructions RE: using vba to write to create an event procedure in another VBProject. Upon...

View Article


Vlookup that finds a match and copies the cell formatting as well

Strangely enough, this is by far the most difficult solution to find. I just want a vlookup to give me the answer along with the cell formatting. I understand a function cannot yield cell formatting -...

View Article

VBA code needed to graduation project!!!! pls HELPP!!!!!

pronto1.jpgponto2.png Hi guys, as you can see from the images i need a code that does that and apears in a new sheet i`ve spent hours trying to create it, but i`m not that good with vba.. imagine that...

View Article

Image may be NSFW.
Clik here to view.

Sheets to be read only if the macro set to true

Hi All, I need help with this code. I need all the sheets in a workbook except Inputs and outputs to be read only, if a boolean in a macro is set to true... Attached is the notepad with the code for...

View Article


Attaching a different macro to each item on a drop down list

I wrote 12 macros to display 1 selected month of the year, instead of displaying 12 months on all worksheets. I then created a drop down list for each month. However, I am having a problem attaching...

View Article

Image may be NSFW.
Clik here to view.

UserForm Assign Roll Number to Different Classes

Hello EveryOne! In my UserForm I have got a ComboBox which have different Classes name( for example Class 1 , Class 2 , Class 3 .........Class 10 ) In the UserForm I have a Text Box to manually assign...

View Article

Macro for hyperlinking cells on master sheet

Hi: I have a master worksheet ("Dashboard") with 400 other worksheets, each labeled "Contact #" where # is 1-400. In Dashboard, I have the names of each contact worksheet (Contact 1 to Contact 400)...

View Article


how to submit a data in excel vba in different workbook or sheet

hi all, i m looking for help to submitting a data from 1 data form to other workbook by clicking on submit button.. Private Sub cmdsubmit_Click() Call TNX Dim emptyrow As Long 'Determine emptyRow...

View Article


errorhandler when file was not found

Hello All, Please take a look at code in below and help me how to solve the problem with errormsg: Code: strName = InputBox(Prompt:="Please enter model here", _ Title:="Model", Default:="xxxxxx") If...

View Article

Image may be NSFW.
Clik here to view.

Run macro after opening the file at the first time only

Hello Friends, I want to run a macro only at the first time opening the file in a day. Doesn't matter what time it is. It should run only first time when I open the file in a day. After that it should...

View Article

macro to enter time in -mm,ss format

I have a file which is used for calculating Time for the given distance using the given Speed or Time. I use same cell for inputting speed/ time. I have conditional formatted it so that if the value is...

View Article

Image may be NSFW.
Clik here to view.

Automate upload file using macro

I have attached my file here, i want to do bellow things using macro. so pls make macro for this. thanks in advance.. 1 Click at "Automate Insert File" Button 2 VBA will Insert file path into upload...

View Article


[SOLVED] Confused bit of code lol

Good Morning Everyone. i have this bit of code, and seems to only work when it feels like it and not all the time. its in a dropdown list box, its on sheet 1 and its not on a userform its on the...

View Article

Image may be NSFW.
Clik here to view.

[SOLVED] Loop running slow

Hi all, I am a little stumped on this one. I have a piece of code that runs through approx. 8000 cells and checks each one to see if it matches a zone assigned to a company name in sheet (Regions &...

View Article


Image may be NSFW.
Clik here to view.

userform flashes on screen twice insted of once

hi my userform flashes up on screen twice instead of waiting for 3 seconds then going off ,all others work as should and this one is coded the same,if you enter 5666 in combobox "unknown bar code...

View Article

[SOLVED] Clear Sheet 2 With button

I have a button on a userform which is activated on sheet1, the userform displays information that is in sheet2 which is set as a table (sheet 2 is hidden). how do i amment the following code to clear...

View Article


Image may be NSFW.
Clik here to view.

[SOLVED] Array and sum under headers

Hello, All values in row A and B come from a csv file that can be totally different, short or long, this mean that my headers C2, D2, E2,… also change from 5 till sometime 250 to the right. When I push...

View Article

Image may be NSFW.
Clik here to view.

Buttons to delete row and insert with data validation help

Ok guys, So i have attached an example of what i am doing. Im trying to make an order form so that i cal select one of the materials from the drop down list then where the "-" is to the right is...

View Article

Image may be NSFW.
Clik here to view.

Userform Search ListBox

Hello... The attach search userform is working OK. I just need a little bit changes in it....I just want when user search, the list box should only show "LAST NAMES" . I allowed List Box to show only 1...

View Article
Browsing all 50057 articles
Browse latest View live