Possible To Make Sheets Static?
Dec 7, 2006
what im creating is a live odds program for NFL football... and in my workbook I have ALL the teams as individual sheets.
The problem im having is say im looking at the calculations for Pittsburgh on the pittsburgh sheet, and my macro decides to update.
What it does is pulls me away from the pittsburgh sheet and goes through all the updates for all the teams on all the sheets. By the time its updated all the odds for all the sheets and running and highlighting with the other macros I have to click back to Pittsburgh and view again for like 20 seconds.. and away she goes again updating the sheets.
Is there any substitute for "select" in the programming where it will not select the sheet.. but just update it "behind the scenes" ?? making the page static and remaining viewable while it runs all the processes in the background??
( yep im pretty new at all this, but i have a great method for calculating games and winners each week, but probably better without looking for 20 seconds waiting, clicking back to the sheet and looking for another 20 seconds .. etc etc .)
View 11 Replies
ADVERTISEMENT
Jan 24, 2009
I have 2 cell, A1 and B1. When any data is entered into A1, B1 will display the time corresponding to when the data was entered.
I was thinking about function for B1 would be "=IF(A1="","",now()) ". It worked such that it will display the time, however the value in B1 will automatically update itself if I were to randomly input any data in any other cell too.
For example, I input "testing" in A1. B1 display "11:20PM". Ten minutes later, I input "hello" in A2. B1 now display "11:30PM".
Anyone know a way to stop B1 from updating? or only update when new data is entered into A1 only?
View 10 Replies
View Related
Mar 22, 2006
I have a problem with the today Function. It appears that it changes each day. But that isn't what I want! I'd like to have a funtion that puts the current Date in a field when Data is being added in the Row and then having this date static the next day. Here is what I had so far but I have no clue to make the date static:
=IF(C10>0;TODAY();IF(D10>0;TODAY();" "))
in this case it checks for information in field C10 and D10 and if there is information it will add a Date like 2006-03-22. But new day the field will change to 2006-03-23 and that is not what i want. I want it to stay the same when data is put in and the date is being presented.
View 12 Replies
View Related
Jan 19, 2014
Any way where is a list of cells (b3:b113) has text entered, or specific text entered, it will enter a static cell in the corresponding "d" column.
I know of CTRL + ; but i don't really know how to get it to work as a macro, can't find a forumla that enters the static date, and i don't want to make a macro to copy + paste special the date when it happens.
So all i should have to do is entered text in column b, then it will add a time stamp, when that text was entered, it doesn't have to update.
Like all i need is this, but instead of the "now()" function, it will have another function that doesn't automatically update?
=IF(ISBLANK(E5)=FALSE,NOW(),"")
View 2 Replies
View Related
Sep 25, 2013
I am trying to send my field reps a spreadsheet that will allow them to pick the proper location for each building. The problem I am having is that there are ~45,000 buildings, each with anywhere from 1 - 92 locations. Here is how my spreadsheet is set up.
Sheet 1
Column A has the Buildings THIS IS NOT A DROP DOWN. THIS IS A STATIC CELL PRE FILLED OUT
Column B is where I want the drop down to be available for the rep to pick the location
Sheet 2
Column A has a list of the buildings
Column B has a list of the locations
I understand that normally I would need to create a named range for each building and its locations. However, there are more Buildings than columns in Excel. Is there a way I can do this using Index/Match, or Offset, or Indirect? I have a sample spreadsheet that can be found in my dropbox account using this link [URL]
View 6 Replies
View Related
Nov 5, 2006
I have a problem using indirect in a counta function. Basically, I want to count the number of used cells in a range. However, there would be insertions to the rows (using the insert row) on top of the range.
my function is now =counta(indirect(" events database"!"A"&M22&":A"&M500)
However, this formula returns an error. What have I typed wrongly?
View 9 Replies
View Related
May 20, 2013
I need drop-down combo box to change a graph based on the option selected in the drop-down
Challenge: my Combo box resides on the First sheet only, but the items that populate in the drop-down list are dynamic and change depending on how many sheets exist for this document. The options in the list are Overall, Week 1, Week 2, ... Week N. Overall needs to sum up the data (or I can pull just from the summary page if I am lazy) and the Week N corresponds to a specific sheet added.
I currently am able to get my drop down to populate items correctly, and my macros to create the sheets dynamically with templates just fine (not bad for newbie).
So what I need to figure out is how to tie my drop down to make a scatter plot/bar graph based on the selected option and action. I can't find an attachment option here but here is some code:
Sheet 1 Code:
Code:
Private Sub Worksheet_Activate()
Me.ComboBox1.Clear
Me.ComboBox1.AddItem "Overall"
[Code].....
View 2 Replies
View Related
Jun 28, 2006
how to count sheets to make sheets statistics. (see code)
View 3 Replies
View Related
Jul 26, 2013
I have an excel sheet that lists a bunch of different recipes. Right now I have all the recipes saved in individual sheets. Each of these are hidden when the sheet is opened. I have a main sheet which lists all of the recipes names and when clicked, the specific sheet opens up. What I am looking for is a code that will hide all of the sheets except for the sheet "Sortable List" and "Detailed Lists". Each of the buttons I have which open up the recipe sheet look like this:
VB:
Sub Banana_Split()
Sheets("Banana Split").Visible = True
Sheets("Banana Split").Select
End Sub
See I think the user might click on a bunch of the names to see the recipes and then get overwhelmed with there being so many open sheets.
View 5 Replies
View Related
Mar 22, 2009
I want to do is be able to take The data from one week for every store and compile it into a chart to show a summary of the company as a whole. I know that I can reference from that chart to each worksheet the values I want, but how would I give that chart the ability to update each time I add a weeks worth of data.
I have attached a file that shows what I am talking about. The sheets labeled Waterloo, Mogadore, through Green are the sheets for each store.
I want to take the last weeks data and put it into a chart as seen on Sheet1. Then when I add data for 3/21/09 I want to make a new chart without retyping the data into the chart.
View 2 Replies
View Related
May 21, 2009
I am trying to make book to represent time frames from sheet 1 to sheet two. The times are at the bottom of the sheet represented by letters from the alphabet eg, A is 6:30 in the morning to 2:45 in the afternoon. B is 8:45 in the morning to 5:00 in the afternoon ect, ect . I need to have the time represented in color or maybe a diagonal line through the cell in sheet 2 where each letter and corrosponding time frames are. Eg, I have given an example of the time frame "A" in column C in sheet two. I will make a sheet for each day of the month, so all I need is an equation for row "C"(Monday the 16th) in sheet 1.
View 4 Replies
View Related
May 15, 2014
i have a names list in range P2:P100
like
P2 = A
P3 = B
P4 = C
P5 = D
P6 = E
P7 = F
then create the sheets with name A, B, C, D, E, F
View 1 Replies
View Related
Oct 19, 2009
I found sheet code on the forum that highlights the both the entire row and column when a cell is selected.
This is great, but is there a way I can make this an add-in so it is easily available in all workbooks and sheets?
View 11 Replies
View Related
Dec 23, 2008
I have a workbook with many sheets, basically all the sheets are almost the same template with fill-in information for different type of jobs, and for the most part, the information is located in the same areas in each sheet.
I need to look in each sheet for a cell labeled, Committee ID:
And then copy it and the cell to the right of it, so for example:
A8 hasCommittee ID:
B8 hasC1234N
So, loop through all the sheets and get these values and then paste them into a new sheet in the same workbook and call that sheet Report. When pasting data into the Report sheet, insert a space between each result.
View 9 Replies
View Related
Aug 21, 2009
OR can I? I get a "Run Time Error '1004' Select Method of Worksheet Class Failed"
Is there anyway around this?
Basically all the sheets are hidden from the user except for the Entry sheet. They input there data on there and then they press a send command button which then needs to copy that information to a hidden sheet. This is where the problem occurs.. Thought maybe their was a way around that or do I need to unhide the sheets during the macro and then rehide them again?
View 13 Replies
View Related
Jun 9, 2007
I want to create a form and use VBA to make a combo box list all the sheets in a book. Is it possible to select multiple entries like in HTML? I would like the user to be able to select the sheets they do not want to delete before a macro runs.
View 2 Replies
View Related
Aug 1, 2013
I want to make a spreadsheet that has codes that make items show up on another sheet but how to do this.
For example I would start on sheet 1 and on cell A2 I would type the amount $100. Then in cell B2 I would type in F (I will call this a code).
Now on sheet two I want the amount on cell A2 to show up in a column of items designated for F items. If I had typed in G instead I would have wanted it to go to a column for G items. All the values under the given code will show up in the column that is represented by them.
View 1 Replies
View Related
Jul 10, 2014
I want to change the colour of rows depending on the letter that is in a column. I want it to do it over all the sheets of the document. In the G column there will be letters like 'W' and 'L' that signify something and I want to make it clear by changing the row colour fill. I've tried a few formulas I found by googling but they didn't work. I should point out that the letters are connected, so if I put a 'W' on the second sheet it appears on the first sheet as well.
View 2 Replies
View Related
Jan 24, 2014
I have a spreadsheet on sheet 1 with a list of customers and their information. So on column A I have the customer number (i.e. k968, e37, p528,...), on column B i have the customer's name, on column C the street's name, on Column D the house number, on column E the zip code and finally the city on column F.
Right now there are around 600 customers in this list.
I have made a userform with a combobox in which I want to select an existing customer (pulled from the spreadsheet). On the same userform I have textboxes (customer number, name, street, number, zip, city). When I select a customer in the combobox, I want this customer's info to show up in the textboxes. I want to be able to change the info and hit Next to store the changes in the spreadsheet. When I do not select a customer from the combobox, I want to add new info in the textboxes and hit Next to store this info as a new customer. The userform also has a delete button. Then I select a customer in the combobox, this customer (and it's info) should be deleted from the spreadsheet when i hit Delete. So the spreadsheet is variable in length.
View 5 Replies
View Related
Jun 29, 2009
I need to figure a way to make to cells with dates equal each other if the
day,month and year are the same but are placed into a cell at different times during the day. "Making Date Now () = (06/29/09) In another cell". Therefore, A1= Now() and E11 = 06/29/09
View 2 Replies
View Related
Mar 21, 2014
How do i Keep shape where it is no matter if i scroll up or down.
Sub KeepshapeStatic()
Dim ws As Worksheet
Dim shp As Shape
Set ws = Sheets("Sheet1")
Set shp = ws.Shapes("MyShape")
'How do i Keep shape where it is no matter if i scroll up or down
End Sub
View 6 Replies
View Related
Feb 17, 2014
I am trying to create a For Loop where the RND from array column sptemp(i,2) is static throughout the entire loop when I pull the data out separately by columns to create a chart. The data works perfectly if I print it out on the excel spreadsheet via ctrl+shift+enter as an entire array but I am trying to graph the columns and the RND is updating and not syncing with the same random number, as sptemp(i,3) and sptemp(i,5) are both linked to sptemp(i,2) which is the RND. I am trying to graph column 3-5 on the Y-axis and column 1 on the X-axis, and column 3 and 5 should look identical after subtracting column 4.
View 1 Replies
View Related
Jun 18, 2009
I have found threads that explain that if you want a to use the now() or today() function but make it static, you have to put a code in the worksheet relating to it.
I have read quiet a few threads, but i can't seem to make my code work.
I need to format column A to have the date format in it. I have a event procedure that puts Now() when run in Column A and I think i need to add the following code to the worksheet to make it static.
View 2 Replies
View Related
Aug 18, 2009
I have the following code that places a formula into the cell.
View 5 Replies
View Related
Oct 3, 2011
I have multiple VBA modules that all refer to directories on the local machine and across the network.
I am currently defining the directories in each module.
How can I define them once and then refer to them in any module?
Set Word_Template_Name = "Sanitary Survey Template.dotx"
Set Excel_Template_Name = "Sanitary Survey Blank.xlsm"
Set WQCDdir = "c:CO Sanitary Survey"
Set WQCD_Source_Dir_File = "...wqcProgramsSDWEngineeringTemplates"
This would ensure that any directory changes could be made once rather than 5 times.
View 1 Replies
View Related
Jan 30, 2012
I have a formula in column A, =AVERAGE(C2:Z2). I have a macro that moves columns C to Z over one column to the right every day. How do I keep the above formula the same as it is now. At present the range also moves one column. I have added $ but it still changes
View 5 Replies
View Related
Mar 13, 2012
I have developed an excel template that is used at our fire department for dispatching purposes. The template is loaded and then info is placed into the template. It is a read only file so I am looking to have it save the file name as "Incident Report ()" replacing the bracket will be the value of cell C1. Example would be "Incident Report 234". I would also like it to save in the same file location every time.
View 6 Replies
View Related
Aug 9, 2013
I want to add a date into cell Q when adding data into cell N but I also want to ensure that that date remains static, so when the spreadsheet is re-opened the historic date remains. Also, I want to add a date to column E which will remain static. I have entered the formula = TODAY() but when I re-open the spreadsheet I lose the historic date.
View 6 Replies
View Related
Feb 28, 2008
I have a rather simple question that I can't seem to find an answer to anywhere, even with a date stamp search on the board. I've found similar answers, but nothing specific to my problem.
I'm currently working on a department worksheet to track productivity. I have the formula in 2 cells to automatically display the current Sunday through Saturday dates when the worksheet is opened:=TODAY()-WEEKDAY(TODAY()-1) in E1 and=E1+6 in E2However, I need these dates to be static once the week is over for each worksheet and the workbook will contain a sheet for each week in the month (I'm not sure if that matters). I know this needs to be done in VBA, but I can't find how (if possible).
I'm new to this board and not a super Excel pro, so any help would be fantastic! Also, I'm working with the company's very old Excel97.
View 9 Replies
View Related
Mar 18, 2008
When a value is placed in a cell (Mr Brown) I would like a static time to automatically appear in the next cell.
I have never written macros or used the VBA.
Can someone give me simple, step by step instructions on how to do it.
View 9 Replies
View Related