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.

How to find the missing row with certain value then insert new row

Hi Please help me find the missing row with certain data in sheet1 then insert a new row below it, fill out the info so that it is like sheet2. Please see sample in attached. Regards, tt3 Attached...

View Article


[SOLVED] Count numbers between two values in a coma delimited string of numbers

Hello, I'm currently doing this manually and would really appreciate help. I have cells containing a string of numbers separated by comas. I need to count the number of entries that are between two...

View Article


Image may be NSFW.
Clik here to view.

Data Validation inside a Form

I understand how to add Form to the QAT so that you can see your fields vertically, without having to scroll horizontally. I also understand how to use Data Validation. I am working with a worksheet...

View Article

Pulling selected data from a database table in to Excel

HI, Can somebody please advise me how to pull selected data (based on a certain criteria) from a database table in to Excel. Is there a wizard for it? or some VBA or SQL script is required for it? or...

View Article

Embed a object in Excel

I want to embed an object (it can be xls,doc,pdf,jpg etc etc) in my excel though vba. I want code to embed that object in a specific cell. For example - I want to embed a object in Cells(12,12). And...

View Article


Copy formula down to last row of previous column which has blank rows on top

Hello, I would like to copy formulas in Column AX down to end of data in the previous column AW. Data in both columns start from row 9 and there are blank rows above that. I used this code which does...

View Article

Delete row based on cell FORMAT (color, font, etc) (not based on cell value)

I need a macro that will delete all rows with cells that contain a certain format in column A. Specifically, I want to delete all rows that have black text in column A. A little history on this: I need...

View Article

Decode text in a cell encoded in basecode64

hey all, i want to create a macro that will take text from one cell in excel, which is encoded in basecode64 and have it be auto decoded in the next cell as normal. can anyone help?

View Article


Workbook.SaveAs Fails in Office 2010

Cross posted at Access World Forums The attached sample file does not work properly in Excel 2010 on some computers. The behaviour is very strange. Every second save in the loop succeeds. If fails like...

View Article


Image may be NSFW.
Clik here to view.

vLookup works, then doesn't work- what's causing the inconsistency?

Greetings, everyone, I know that vLookup can be tricky to work with at times but I'm flummoxed by this one. In the attached (cut-down) workbook, selecting "Add New Data" will bring up the user form....

View Article

Desperate: Sub searches & finds a row to meet two criteria, copies & pastes...

Specifically a sub that uses the values in a column labeled "Class" (the heading is 6 rows down from the top, and will move as additional columns are added to the sheet) to copy all records for...

View Article

Macro to Disable to close workbook after opening if machine ID doesnt mactch!

Hi. I've developed a workbook which i pretend to sell. Its a very complex workbook which has more than 700 worksheets and a lot of work invested. Has more than 100 macros across and i manage to...

View Article

Open .csv file without browsing it

Hi guys, Just a new member here. It's quite interesting to join here because i get new ideas when browsing and reading this forum. My problem is that my manager wants me to create a template that...

View Article


How to assign different shortcut keys to a Macro , different sheets

I have a macro "Macro1" for moving to next sheet, i have assigned {ENTER} as the shortcut key, Problem: in Sheet8, Sheet9 And Sheet10 i want to assign F4, F7, F3 as the shortcut key, in in remaining...

View Article

Refresh MS Query using VBA

Hi, I am having a problem with refreshing an MS Query that drives the sheet I am working on, the MS Query seems to run, the data does not refresh. Normally I would open the work book and go to the data...

View Article


Image may be NSFW.
Clik here to view.

Using a macro to create a conditional format based on a date in a cell

I am currently using the conditional formatting function in excel for a spreadsheet. I would like to create a macro that will do the same thing as the spreadsheet is getting too large. My current...

View Article

Image may be NSFW.
Clik here to view.

Merge data in one row of excel into a word template

hello, I am trying to sort it so i can select a row of data from my spreadsheet (the number of rows will vary and is being added to regularly), and fill the word template. i have labelled all the...

View Article


Copy cell data from one worksheet to another

I need some help completing the last part of my sales file. Everyday I have a sales file sent to me that I use a macro to extract the information and then compile it in my "Raw Data" worksheet. The...

View Article

select multiple column listbox to edit userform

hi, i have created a userform where data can be input and when the user selects OK it puts the data in the correct order in the next row. however, i want to create a 'edit' button where the user can...

View Article

How to prevent user from moving the workbook out of the its drive/folder

Hello All, Lets say that I have saved the workbook in public drive ":Y\Testing" for everyone to access and use it. Is there a way to prevent the user from moving the workbook out of the...

View Article
Browsing all 50040 articles
Browse latest View live