Formatting Gradually Disappears In Daily Updated Workbook?

Aug 22, 2013

I have a workbook I update from numerous sources every day. A few months ago I noticed some of my formatting started to disappear - a couple of borders were missing. a day or two later a couple of cells which had color were no longer colored. number formatting reverted to general so my percentages just showed up as decimals and my dollar values no longer had a $ or commas. Eventually - over the course of several weeks - all formatting in the document was completely gone. A couple of times throughout this process I tried replacing all the formatting, but as soon as I'd save the file, close it and open it back up whatever formatting related changes I had made would again disappear.

Eventually I went back a couple months and pulled an old file which still had its formatting and updated that instead. This worked fine... for about 2 months. three days ago I started noticing the same issues - a few borders disappeared in the file. two days ago a few more borders were gone and a couple of cells lost their color. yesterday and today it has gradually gotten worse again.

View 4 Replies


ADVERTISEMENT

Excel 2007 :: Chart Disappears When Copy Tab Or Move To Another Workbook?

Apr 15, 2011

In versions prior to Excel 2007, I was always able to copy a chart when I copied a tab. However, when I copy a tab in 2007, the data copies fine, but the chart does not. Something similar happens when I try to move a tab with a chart on it to another workbook.

View 5 Replies View Related

Copy Data From One Workbook To Updated Workbook Using Macro

May 1, 2012

I am creating a spreadsheet to provide to a group of about 40 people. The spreadsheet allows each member to track the referrals they receive and give. I need to plan on creating updates for the spreadsheet and want to make it so they can easily transfer their data to the most current version in the future. Here is a breakdown of the workbook:

Worksheets:
Members
Lists
Referrals Given
Referrals Received
Totals
Formulas

I need to copy the data that they have input from the following worksheets:
Referrals Given
Referrals Received

Here is a breakdown of the "Referrals Received" worksheet:
A1:V4 - Data that will not change and includes many named cells
A5:Nxxx - Dynamic Named Range where they input their data
O5:Vxxx - Contains formulas

I need to be able to copy
A5:Vxxxxx
from the old workbook to the new

Some side items to note:
There is VBA in the worksheet of
Private Sub Worksheet_Change(ByVal Target As Range)
and included in the code is an Unprotect & Protect code to always keep the sheet protected

I figure whatever works for this sheet will work for all the sheets.

View 1 Replies View Related

Copy Updated Rows From Another Workbook

Nov 28, 2007

Currently I have two files: Samples.xls and RefSamp.xls. RefSamp.xls currently contains data from Samples.xls and Samples.xls is updated periodically. As samples.xls continually updates I would like to copy to RefSamp only the lines that have not been previously copied over (perhaps some sort of pointer to be used?)

Some of the lines from Samples.xls are removed and/or edited after I have them in RefSamp, which is why I do not wish to copy all the data over each time.

View 9 Replies View Related

Run Formatting Macro For Excel Filename That Changes Daily?

Oct 6, 2011

I have an access database where I export a file into excel on a daily basis. The file is saved to a different filename daily because I have added the date to the filename. My question is I have a formatting macro spreadsheet so when I export the file in access it will run the formatting macro in excel to format the sheet appropriately. How do I get the formatting macro to recognize to run if the excel file changes on a daily basis in vba?

This is what I have in the formatting macro:

Sub Auto_Open()
'
' AutoOpen Macro
ChDir "G:SD Forecast and PlanningShortages"
Workbooks.Open Filename:= _
"G:SD Forecast and PlanningShortagesShopWorkingList10052011.xlsx"

How can I get the formatting macro to run on this file when the date changes constantly in the filename?

View 6 Replies View Related

Macro Gradually Uses Up All Of Memory And Slows Down?

Mar 24, 2013

I have written this macro which I run about 1000 times in a loop. It runs solver and copies the results to a row in my spreadsheet so i end up with a sheet of solver results.

The problem is that every time it runs it eats up memory and slows down. I timed it and the first 100 runs take about 2 minutes and the last 100 takes about 15 minutes, the ram use increases by about 4gb in that time too.

As this is the first VBA code I have written and I have been learning as I go along, I assume its something I have done wrong in the code.

Sub run()
'
' run Macro
' run solver

[Code].....

View 2 Replies View Related

Getting Number Of Rows To Move To Gradually Increase With Offset Function

Jun 17, 2014

I need an OFFSET function to start off by moving down 1 row from the starting point and then on the next run through the loop, to move down 2 rows, then 3 rows, etc.

Code:

Workbooks(Thisname).Worksheets("Run Set Up").Range("Duration").Offset(1, 0).Value = Workbooks(Filename2).Worksheets("Front Page").Range("T20").Value

This is what I'm working with. At the moment, I have the value for the number of rows to move set to 1 because I can't figure out how I'd accomplsih what I need.

View 1 Replies View Related

Move Latest Updated Cell In Sheets In A Workbook Based On Time And Date

Mar 1, 2014

I am having rows of data, that i will be updating from time to time. I want excel to move the latest updated rows, in any column if updated, to move to the top, to easiy know that i updated those records. It should be that when i updated more rows than one, then the first updated cell would be in lower, in order, than the latest updated cells. I do not want any cumbersome vba. I want in formula or in conditional formatting. The row no may be total not limited to some rows.

Because, you naturally would have updated the 200 th record and would have saved. It saved as it is, so when you next opens it it is there, but how can i know that that is the last row of data i edited.

View 5 Replies View Related

Save Daily Workbook As Date

Dec 13, 2006

I have an excel workbook that needs to be updated daily (new figures replace old ones at the moment), Want I want to be able to do I after filling in the cells, through that workbook be able to create a new identicle excel file for that day, with the name of the file being the date for that day, so basically at the end of every day a new file is created in a sought of archive. I understand I can just "Save As" every day, but the person that I am doing this for is .... well not the most competent of people.

View 2 Replies View Related

Auto Run Macro Once Daily On Shared Workbook

Sep 13, 2007

I have a shared workbook where 5-6 people could be updating the log sheet at any one time. The problem is a I have a macro that I would like to run to update ( cut n paste to different sheets, etc) that doesnt like running when the workbook is shared. What I currently do is have a button that when clicked - changes the document to exclusive, runs the macro, then changes back to shared. I was hoping I could run the macro on an worksheet event? But i'd like it to run only once - Possibly when its first opened for the day by anyone of the users.

View 4 Replies View Related

Auto Copying Cells Value That Changes Daily Without Affecting Daily Value?

Mar 20, 2014

I have the following scenario:

Cell A1 shows a specific value (pivot table value), but same A1 cell value might change if pivot table is refreshed.

So I am trying to automatically copy A1 value to another cell but I need to keep track of each value when pivot table is refreshed.

I have been researching about =Value formula, but it does not work properly since A1 cell reference will change each time pivot table is refreshed.

View 4 Replies View Related

Autoclose "This Workbook Contains One Or More Links That Cannot Be Updated" Window

Oct 28, 2008

As before my code sequentially opens over 200 workbooks, extracts data from each of them and pastes it into a register. I do get the occasional workbook which has some links in it which cannot be immediately updated and so Excel produces a requestor window asking if I want to Continue or Edit Links. I always want to Continue and wonder how I can code this. I presume this will be something to do with this line of code?

View 2 Replies View Related

Result Arrives And Disappears

Feb 21, 2007

I begin in the Word of VBA. It's the first time I've a formula which seems necessitate VBA to be written down.

Before to try to execute my complicate macro, I've begun with simple tricks. But I've got a strange comportment of Excel :

I've the following Sub :

View 14 Replies View Related

Textbox Disappears When Filtered?

Jul 17, 2014

I have created an Excel spreadsheet with data. I froze the top row and added filters. This document will be used by numerous people, so I would like instructions for them on how to update the data on the same page as the data.

I put the text box off to the right of the data, but when the data is filtered, the text box is hidden along with the hidden rows.

Is there a way to have instructions to the right of the data that will not be hidden when applying filters? It does not have to be a text box but it does need to be on the same tab.

View 1 Replies View Related

Userform Disappears After Clicking No

Apr 3, 2007

i got the userform to popup when the workbook is open and the buttons work fine... only problem is when i click on a button, it will ask the user yes or no... if the user press yes, it performs the required macro without any problem... but when the user press no, not only it will close the question, but also closes the userform... I would like the 'no' to close the question but not the userform...

View 4 Replies View Related

Scroll Bar Disappears Clicking It

Sep 7, 2007

I have a chart that I just added some dynamic text boxes to. That is the text is linked to a cell so that the text is automatically updated.

I also have a scroll bar that is used to adjust one of the cells. However, now once I click on the scroll bar it just disappears. I can click on the space where it is located and it will appear for a split second. Also, if I scroll down in the worksheet and then back up over the scroll bar the image will be refreshed and I can see the scroll bar again.

I didn’t have this problem until I added the dynamic text boxes, it worked fine with static text boxes.

Does anyone have any idea how to get around this, or do I have to stick with the static text boxes?

View 5 Replies View Related

Autofilter Disappears When AdvancedFilter Used

Sep 26, 2007

I have an auto filter setup on some data. When I perform an advanced filter either in-place or to another location, the auto filter disappears. Is it supposed to be have like that? If so is there some sort of work around?

View 2 Replies View Related

Text Disappears When Word Wrap Is Used

Sep 7, 2005

Whenever word wrap is applied the text is not visable in the cell. It
remains visable only in the bar above.

I have already confirmed autofit and it reduces the column to 1 character
wide.

I tried detect and repair on the installation and nothing.

I even upgraded from Excel 2k to Excel 2003 and no change.

View 14 Replies View Related

Userform Disappears When Loading Template

Feb 7, 2014

I made a template file with a userform included to enter data into a protected sheet at the command of a button. When I open the template, everything works fine. However, when I use a macro to create a new workbook and import the template to create a new sheet (or several) the userform suddenly disappears! The template is saved as macro-enabled and the new workbook is saved the same way. What am I missing that I'm loosing the userform??

View 9 Replies View Related

VBA: Pop-up Calendar Disappears When Script Stops

Oct 14, 2008

My Workbook contains the following macro in Sheet 1, which displays a pop-up calendar in L15 when that cell is selected:

Private Sub Calendar1_Click()
ActiveCell.Value = CDbl(Calendar1.Value)
ActiveCell.Select
Calendar1.Visible = False
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Application.Intersect(Range("L15"), Target) Is Nothing Then
Calendar1.Left = Target.Left + Target.Width - Calendar1.Width
Calendar1.Top = Target.Top + Target.Height
Calendar1.Visible = True
' select Today's date in the Calendar
Calendar1.Value = Date
ElseIf Calendar1.Visible Then Calendar1.Visible = False
End If
End Sub.........

View 9 Replies View Related

Data Validation List Default Value Disappears?

Dec 3, 2012

I have a large spreadsheet with many cells that have a drop down list using data validation. The list is a named range with no blanks. Most of the cells show the default I have set. However, sometimes when changes occur in cells next to one with a drop down list, the default value mysteriously disappears and the cell appears blank. The functioning of the drop down lists is intact, it's just that the cell appears blank.

View 5 Replies View Related

Data Validation Disappears When Re-opening Spreadsheet?

Aug 23, 2013

I add data validation into 4 columns and when i re-open the spread sheet after saving it, it clears all validation.

Although it clears the validation, the place where it gets the data from is still there. i have also unfroze panes and is still clearing data validation

Attached is the spread sheet. The data validation is in columns A, G, H and I on the 'unsourced' page and is getting the data frfom the 'Sheet1' Page.

View 2 Replies View Related

Excel 2013 :: Formula Disappears Once It Calculates?

Jul 17, 2013

using Office Professional Plus (2013). Within my spreadsheet, I have a series of progressive dates to be used in as a timeline. Ultimately, what I need to accomplish is that when I change one date, all the proceeding entries update according to my timeline criteria (in this case 3 weeks or 21 days). I created a SUM formula that worked but only calculated one time. Once the calculation completes, the cell drops the formula. I need this to be constant as the dates often change. How do I get the formula to maintain? Further more, is there a better method to accomplish the task at hand other than the SUM option?

View 7 Replies View Related

Inserted Picture Disappears After Losing Focus

Aug 22, 2008

I have the same problem as Paul C in the following post:

(Pictures disappearing)
"Hi not a VBA problem, but when i insert pictures or logos into my workbook they disappear, i can insert a picture close the workbook but when i re-open it the picture has gone, i have to click on where it should be to get the border to appear, the move it to get it to appear.

I have tried inserting BPMS, JPGS, GIFS, but i have the same problem with them all, I have used the bring forward command but still have the same problem, I have even tried re-installing Office 2003 and installing all the latest updates but still get the same problem, any ideas?"

I have tried:

- Tools > Options > View > Objects > Show All
- Changing macro security level
- disabling macro security in my antivirus

View 9 Replies View Related

Macro-created Formula Disappears Without Pattern

Mar 13, 2007

On a sheet, I have a Worksheet_change sub that checks if the cell changed is in column 1, 10, or 19 and if it is, then the six cells to its right are filled with formulas I need. All formulas work, except for one. I've checked over and over again and the formula itself works fine - the coding behind it is exactly what it's supposed to be.

But for some reason sometimes the formula isn't put into the cell. I haven't found any pattern yet with this problem. Even stranger is that the formula is identical to one in another column before (which is also entered by the macro) and the other one has never disappeared yet. I'm setting both formulas with the abc.FormulaR1C1 property (I don't use the abc.Formula property to avoid having to write three different formulas - one for each possible column change).

View 3 Replies View Related

Locals Watch Disappears; Program Crash

Jun 29, 2007

I'm in the process of writing/editing a macro, but after I run the macro once, the Expressions in the Locals Watch window disappear, and if I try to run it again it produces an "Excel has encountered an error and needs to close". The macro probably doesn't make much sense out-of-context, but perhaps there's a glaring error that's causing this. A guess - possibly related to the Error Handling in the vba? (1st time I've used this in a macro).

Option Explicit
Sub Compare()
Dim strNaspK As String
Dim strCtryK As String
Dim intCtryRev As Integer
Do Until ActiveCell. Offset(1, 0) = ""
ActiveCell.Offset(1, 0).Select
strNaspK = ActiveCell
strCtryK = ActiveCell.Offset(0, 2)
On Error Goto ErrJump:........................

Basically, I've got two sets of data on different sheets, with NASP ID and country being variables. Just trying to import the data from the 'Comparison' sheet, if both the NASP id and country matches that on the first sheet, established by the variables.

View 2 Replies View Related

Excel 2007 :: Screen Gets Distorted And Data Disappears

Aug 12, 2014

Excel 2007. Basically, I'll be working in excel and all of a sudden, my screen sort of blurs; gets scramble like below. This only happens when using Excel.

Myscreen.PNG

View 4 Replies View Related

Macro Button On Quick Access Toolbar Disappears

Apr 15, 2014

I have written a macro. The macro in question simply shows a user form. There is far more code within the user form itself. It is designed to automatically format a workbook.

I saved the macro as an .xlam add-in file to the default folder. I then added a button for the macro to my Quick Access Toolbar. This seemed to work great.

However, when I open a new file that I want to run the macro on, the button disappears. In fact, a 2nd Excel window opens up on my task bar. The original window still has the macro button, but the new window does not.

View 5 Replies View Related

Protect The Formatting Of Workbook?

Jun 28, 2013

I'm trying to protect my workbook from having people around the office from changing the formatting -- I need standard fonts, outline on the cells, etc. Is there a way for me to protect the formatting, but still keep the cells open and editable for new and updated information?

View 1 Replies View Related

Formatting Changes To All Worksheets In Workbook

Jul 21, 2013

Is it possible to apply changes to formatting (column width, text size) to all worksheets within a workbook? I have a workbook with 50 worksheets--1 for each state--and I want the formatting to be standard throughout, and I want to do it quickly.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved