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

Image may be NSFW.
Clik here to view.

Find then Name the Range

Hi everyone. I would really appreciate some assistance. Please see attached. In the Worksheet sheet there are two columns: Value - value to find in the Report sheet which identifies the table Assigned...

View Article


put picture into a cell and get picture name from another cell using Excel 2003

I want to paste/show a photo in a particular cell (D2) on a worksheet (called PP). I wish to delete any photo that may already be there in D2. The picture's name (e.g. J-145.jpg) will be found in...

View Article


Excel 2007 ExportAsFixedFormat to esport .doc to pdf problem with .doc...

Hello I am using ExportAsFixedFormat to export .doc as pdf from vb excel, but i have unexpected error 80004005 when the .doc has tables inside, please your help. Below is the code I am using. Dim...

View Article

How to use cells instead of range in vpagebreaks in VBA?

Code: Activesheet.VPageBreaks(1).Location=Range("B1") this code works perfectly fine...however the column where i want to place my vertical pagebreak is somewhat variable so I tried to use cell (shown...

View Article

[SOLVED] Macro to remove duplicates very Slooooow

Hello, I have a macro that deletes the entire row for all duplicate cells in column A so that I end up with a sheet with all unique entries. It works good but is terrible slow, can some one see how to...

View Article


Changing Combobox for valid dates from a list

Hi there, I would like to give a user the option to pick a date from a list (without seeing it). I would like to do it with 3 combobox so that user can pick separately year, month and day but only for...

View Article

Cell Locked or Unlocked depending on another CELL value

Dear All, I'm trying as below: If F3 contains specific word i.e. FCL then only cell K3 and L3 are unlocked or available for data input. Additional information: F3:F10002 contain data validation list I...

View Article

Cell = Range("A1") Type mismatch

I'm trying to clear all cells on a sheet that are not in the Range between A1:F1 This is what my code looks like: Code: Sub ClearTable() Sheets("Tables").Activate Dim WorkRange As Range Dim thisCell...

View Article


How to store a cell value of thisworkbook in a variable

Hi, I have want to store value of cell A11 of thisworkbook to a variable Thisworkbook and not the Active workbook... I am already using an Active wokrbook strFName =...

View Article


Image may be NSFW.
Clik here to view.

Print Button Macro Prompt

I have a print button or object and I want to assign a macro to it that when clicked brings up a prompt to type in a Month or Year to Date and prints the data that corresponds to that month or YTD. I...

View Article

Image may be NSFW.
Clik here to view.

Data extraction from one sheet to another sheet by expiry date

Hi, I have attached an excel file. I need the datas sort by expiry date by a formula. Datas stored in FO Bhav Copy sheet, extracted to Rate Extraction sheet. Attached sheet is self explanatory Hope...

View Article

Compare and validate one column in one sheet with 2 different columns in...

i have two different sheets. sheet1 has part numbers in one column and 2nd sheet has same part number repeated several times in column1.And for these repeated part numbers in sheet 2 column 1, there...

View Article

Macro to copy the data from a closed file to another work book using filters

Hi All Looking for a macro to copy the data from a closed file to another work book using filters  Transfer data from raw file with Approved in filter for overall status and blanks from Raw file name...

View Article


Create a popup form with formulas to calculate the cell selected

hello, Ive been searching on this for awhile now... im not very intelligent when it comes to VBA or Macros but this is what im trying to do if someone can help me please. I have multiple cells for...

View Article

VBA Change event table

Hi all, I want to run a macro every time a user is adding a new row to a table in excel. The table name is "Table1" and a new row is always added by using TAB inside the table. I think this has to be...

View Article


Image may be NSFW.
Clik here to view.

Rank of employees

Hi Guys, I am facing issue with to get Rank of emp. I am using excel 2007. I have two sheets 1 Rank 2 Score Table In Score Table I have made sum of each employee score. What I am trying to do is in...

View Article

Image may be NSFW.
Clik here to view.

Auto Sort Table by Dates

Hey I'm looking for help on auto sorting a excel table i have. i have Columns (A-N) and Row 4-????( unsure how long it will go). I would like a Macro that will auto Sort the Worksheet from the Dates...

View Article


Image may be NSFW.
Clik here to view.

Need help!! Create percentage inside each class

Hi everybody! I m writing from Italy and I am not able to go out from a vba problEM As you can see in the attached file, I have a column of classes , a columns of related revenues and the total for...

View Article

Random time generation (excluding range)

Hi, I'm trying to generate a random time which has to be between 00:00 and 04:00 OR 15:00 and 23:59. I was previously using =RANDBETWEEN(TIME(0,0,0)*10000,TIME(23,59,59)*10000)/10000 which worked...

View Article

Putting the results of a vlookup into a cell's comment

I have two tables, a summary table and a documents_list table. The summary table does a lookup on the documents_list table to determine the latest version of the document (several exist), and then...

View Article
Browsing all 50620 articles
Browse latest View live