Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default how to stop data shifting into new cells every time workbook is o.

Some of my Data remains the same in my workbook but then columns H- shifts
into different cells after I've saved the sheet and then I reopen to work in
it again.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,203
Default how to stop data shifting into new cells every time workbook is o.

About the only way that I can think of that data would physically move from
any column into another 'magically' is through VBA code (a macro).

I'd look for code associated with one of the following:
ThisWorkbook
or the worksheet this is happening to.

To look for the code, open the workbook and go to the sheet where it is
happening and Right-click on the worksheet's name tab and choose [View Code]
from the list that appears.

If you see code in the module that opens up, that's probably what is doing
it to you.

If you don't see code in the module that opens, then look in the
ThisWorkbook object: Press [Ctrl]+[R] to make sure the VBA Project window is
open in the VB Editor. It will have a label at the top of it like: Project
- VBAProject (although the VBAProject portion could be different). If the
list of 'Microsoft Excel Objects' is not expanded, click the [+] sign to
expand it and then double-click on the ThisWorkbook object that you will find
at the bottom of that list.

Again, if you see code, that's probably what's doing it to you.

The easiest non-permanent way to deal with any of the code you find is to
type in the statement
Exit Sub
on a line immediately following the statement that looks something like:

Private Sub Worksheet_Activate()
or
Private Sub Workbook_Open()
or
Private Sub Workbook_BeforeClose()

Obviously these aren't all the possible 'Private Sub' entries, but are some
of the more likely ones.

If you do find code and want to find out how to edit/alter it or simply to
find out what it is doing, copy the code and paste it into a new posting here
asking simply "What does this code do".


"Jane G" wrote:

Some of my Data remains the same in my workbook but then columns H- shifts
into different cells after I've saved the sheet and then I reopen to work in
it again.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time-shifting information Amanda Excel Worksheet Functions 1 September 24th 07 04:23 PM
Shifting all cells in a worksheet Cory Excel Discussion (Misc queries) 2 April 27th 07 07:18 PM
shifting of data to fill into blank cells tikchye_oldLearner57 Excel Discussion (Misc queries) 6 April 11th 07 11:02 PM
How to get Excel to stop formatting time cells incorrectly Chuck Cusack Excel Discussion (Misc queries) 2 August 6th 05 01:10 AM
stop excel from shifting cells up when a query returns no data DrLostinExcel Excel Worksheet Functions 2 November 9th 04 05:44 PM


All times are GMT +1. The time now is 03:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"