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

Image may be NSFW.
Clik here to view.

Unhiding sheets in 2013 and 2007

In the attached, the code runs differently in 2007 and 2013. In 2007 Sheet1 remains selected, in 2013 Sheet2 is selected when the macro has run. Is this normal? Furthermore, when run from the VBE...

View Article


Image may be NSFW.
Clik here to view.

[SOLVED] Unclickable Sheet

Hello, could you please help me with this. I just want Sheets January - December to be unclickable. Attached Files Month.xlsx‎ (11.9 KB)

View Article


Image may be NSFW.
Clik here to view.

[SOLVED] I need help with a #NAME error in my macro

I wrote the following custom function in Excel using the VBA editor, but it does not seem to work. When I invoke the function I get a #NAME? error in Excel. I do not understand what name Excel is not...

View Article

Image may be NSFW.
Clik here to view.

How to Get Vlookup Results when der are multiple rows with the same "Lookup...

I have a data base where my enter my order no and specifications ordered against that. Sometime one order carries many specifications, so we use new rows for each specification, but with the same order...

View Article

Converting excel 2003 file ext macro file-save code to reflect excel 2007 exts

We have just migrated to Excel 2007 from Excel 2003. I have many excel templates that contain macro driven automation that are used to create separate excel files that I want to keep that macro driven...

View Article


Time stamp via macro

Hello, I'm trying to time input the following formula into every blank cell in Column A only if Column C in not blank. Code: =TODAY()+(7-WEEKDAY(TODAY(),2)) The problem with just entering the formula...

View Article

Setting Loop to the smallest number needed

Thus far, when I want to loop something I just set the loop to be greater than what I need it to be. Code: For i = 1 to 5000 if cells(i,1).value=5 then cells(i,1).interior.color = 1 end if next But...

View Article

How do I add a new line to a table using VBA?

I have searched Google a lot but I can't seem to find what I am looking for. I am trying to add a new row to a table using VBA. So far the only thing I have figured out how to do is copy the row down....

View Article


Macro to remove " around a string of data

Hello, I need a macro to remove " marks that are appearing around strings of data. I have a spreadsheet that contains multiple columns of text and when I save the speadsheet as a .txt file some of the...

View Article


Image may be NSFW.
Clik here to view.

Extract variable location data from multiple sheets

I couldn't find an answer to this question but if it is out there, please point me in the right direction. I have data from scientific experiments that is generated and the output is stored in .csv...

View Article

Please Recomend The right book for Me to learn

I deal with spreadsheets, applications, budget worsksheets everyday all based out of excel, my usual "go-to's" in excel are sorting, formulas, formating. I know how to work excel better than most...

View Article

Conditional formatting

Hi, I am getting the following message: "you cannot use references to other worksheets or workbooks for conditional formatting criteria" when I tryi to create a conditional formatting rule in sheet1...

View Article

If cell is contained within a cell in a range then macro

I want a macro that looks in A4:17 in each cell and if the cell is contained anywhere in the cells in the range A18:A44 then replace the cell in the the range a4:a17 with the cell in the range a18:a44...

View Article


Image may be NSFW.
Clik here to view.

Dependent Combo Box Problem!

Hi, Really sorry if a solution have been previously posted but I wasn't able to find one that I could adapt =( I have a sheet (see attached) Pretty simple 2 sheets Rawdata and Lookuplist If you press...

View Article

Clear data from range of cells then autosort

Specifically, I'd like to have it so that when a user clicks off to the side to highlight an entire row, and follows it up by clicking a button the sheet, that the cell range of B:S of that particular...

View Article


need code to prevent pasting merged cells

I have a range of cells that are locked but where cell formatting is enabled. Row and column formatting is disabled. And I want to programatically prevent the user from pasting a merged range (either...

View Article

VBA code - calendar for multiple cells

Dear All, I am working an Excel 2007 document with multiple worksheets. I like to add a calendar in each tab. The calendar needs to become visible in multiple cells when you select the cell. Cells: F20...

View Article


Excel data connections how to store Relative Path?

Hello, I have excel document and use the auto data refresh from txt document. The path stored is absolute c:\mydocumet\somefolder\someotherfolder\myfile.txt I need to move my files frequently but I...

View Article

I hope to convert a table from values to % of a 40-hour capacity and graph...

I received help with compressing a spreadsheet to show only the rows carrying totals and have attached that file for reference. I have also attached two examples of my preferred output. The first shows...

View Article

R1C1 formula referencing a .csv wokrbook in 2010

I'm just moving from 2003 to 2010 and have been amending established macros to attempt to accommodate 2010's requirements with file extensions. All going fine, until I get to an R1C1 formula which...

View Article
Browsing all 50040 articles
Browse latest View live