Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Columns Shifting on Import of Data

Hello,

I have an Excel Spreadsheet that contains multiple sheets. 5 of the
sheets are for importing text files, then other sheets used as reports,
have functions that refer to these sheets that are strictly for the
raw, imported data. I import the data using VBA. I have a range name
for each of the first 5 or 6 columns on each of these sheets, and the
data is supposed to fall within these ranges on import. I import the
data beginning on row 2 of each sheet, as I have column headers on row
1, which I use to identify the data. What I am finding is that for 4
out of the 5 sheets, the data comes in exactly as it is supposed to.
For the 1 sheet however, the named ranges get shifted over to the
right, as well as the column headers, and the data falls to the left of
them. I have looked at the VBA for each of these text imports, and for
the life of me I see no difference in them, other than the name of the
sheets. Does anyone have any idea why this might happen? I'm using
Excel 2002. If no one has any ideas, I may have to incorporate the
deletion, then renaming of the named ranges, as part of the VBA.

It just doesn't make sense to me that 4 out of 5 of the sheets are
unaffected by this behavior.

Thanks,

Carroll Rinehart

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Columns Shifting on Import of Data

Now all of a sudden, this sheet is now behaving itself. I can't think
of anything that I did that would have changed this behavior. Unless
someone has experienced this and knows the cause, I'm closing this
topic. Thanks anyway--Carroll

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
Shifting rows into columns biggg_fish Excel Discussion (Misc queries) 2 March 28th 07 03:13 AM
Deleting and shifting cells and columns Curt1521 Excel Worksheet Functions 7 May 8th 06 04:14 PM
Import data into seperate columns naulerich Excel Discussion (Misc queries) 32 April 4th 06 09:22 PM
import data to specific columns marlea Excel Discussion (Misc queries) 1 August 12th 05 02:05 AM
how to delete cells without shifting and rows/columns Jeff Excel Programming 9 September 24th 04 09:10 PM


All times are GMT +1. The time now is 02:05 AM.

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

About Us

"It's about Microsoft Excel"