I am having trouble using a variable array within a formula. When picking up the variable array alone it shows the correct values however when i then try to look for something in that array it comes back with an error. Any ideas?
Posts by grays
-
-
I want to create a demo for new users to an excel workbook we have. Ideally it would be an animation which shows the user the steps they must take, can this be done? I am envisioning the mouse cursor being automatically moved and clicking the relevant macro buttons etc.
-
What code can I use to pick up the xvalues on a chart?
-
I have a macro which automatically opens email attachments and saves them. Some of these are saving as read only and as they are meant to be overwritten by later files this creates a permissions error when the next file tries to save. How can I set so these do not save as read only?
-
Re: Replace existing file when saving
Perfect.
Thanks
-
I know this is probably a very simple question but i can't seem to find how to do it.
When i use workbook.saveas and the file already exists it prompts do i want to replace it. I do not want this to prompt, ie, to replace automatically. How do i do this?
-
Re: Inserting Graphs In Different Versions Of Office
Thanks Dave
-
Re: Inserting Graphs In Different Versions Of Office
Dave
You are right it was the screen resolution. Is there any way around this?
-
I have created a macro where it inserts graphs and repositions them. I made the macro in excel 2003 however when I run it in excel 2000 it positions the graphs in different places. Is there anyway to get around this?
Code
Display MoreCharts.Add ActiveChart.ChartType = xl3DPie ActiveChart.SetSourceData Source:=Sheets("Data").Range("g" & startmonth + 1 & ":k" _ & startmonth + 1 & ",g" & currentmonthtotals & ":k" & currentmonthtotals), PlotBy:=xlRows ActiveChart.Location Where:=xlLocationAsObject, Name:="Display" With ActiveChart .HasTitle = True .ChartTitle.Characters.Text = "Method Of Settlement" End With Chart3 = ActiveChart.Name Chart3 = Replace(Chart3, "Display ", "") Range("g1").Value = Chart3 ActiveSheet.Shapes(Chart3).IncrementLeft -230.25 ActiveSheet.Shapes(Chart3).IncrementTop -9# ActiveSheet.Shapes(Chart3).ScaleWidth 0.6, msoFalse, msoScaleFromTopLeft ActiveSheet.Shapes(Chart3).ScaleHeight 0.65, msoFalse, msoScaleFromTopLeft ActiveSheet.Shapes(Chart3).IncrementTop 220# ActiveSheet.Shapes(Chart3).IncrementLeft -0.75
-
Re: Macro running at midnight every day
OK it is working when I do not shut excel but shut the workbook however if I shut excel then open up another workbook it does not run.
-
-
I want to have a macro run at midnight every day whether or not the actual workbook is open. Is this possible?
-
I am trying to do something like a countif for a range where if the value in column A matches one cell AND the value in column B also matches cell then it counts. Can someone give me some help?
-
-
After creating a text file i want it to print. What code do i need to write to be able to do this?
-
-
Re: Stop screen flicking to other programs when running code
One is to be used by branches and they input daily data and at the end of each day they will click and button and it sends all that days data to head office. This does not flick to outlook to display security message.
The other is the master file which imports all the emails and send reply emails confirming receipt. this one flicks to outlook to show the security messages.
-
Re: Setting a folder to output text file to
Never mind fairly simple
-
-
I have written a code to goto outlook and send emails and that from excel. However even though i have set screen updating as false it still flicks over to outlook to show the security warning. One of my other programs does not do this. Any ideas?