Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ralph
 
Posts: n/a
Default Delete - Shift Cells UP problem

Hi

I setup a toolbar icon to automate the delete-shift cells up function but
sometimes it shifts cells up and other times it shifts them to the left, how
can i have it just do shift UP?

thanks
  #2   Report Post  
Trevor Shuttleworth
 
Posts: n/a
Default

Ralph

Selection.Delete Shift:=xlUp

should always move the cells up.

Regards

Trevor


"Ralph" wrote in message
...
Hi

I setup a toolbar icon to automate the delete-shift cells up function but
sometimes it shifts cells up and other times it shifts them to the left,
how
can i have it just do shift UP?

thanks



  #3   Report Post  
Ralph
 
Posts: n/a
Default

Trevor, thanks, but you're a bit over my head, maybe I should explain better:
I setup a toolbar icon by going "view:toolbars:customize" and chose the one
that is for deleting cells...but it is inconsistent

"Trevor Shuttleworth" wrote:

Ralph

Selection.Delete Shift:=xlUp

should always move the cells up.

Regards

Trevor


"Ralph" wrote in message
...
Hi

I setup a toolbar icon to automate the delete-shift cells up function but
sometimes it shifts cells up and other times it shifts them to the left,
how
can i have it just do shift UP?

thanks




  #4   Report Post  
Trevor Shuttleworth
 
Posts: n/a
Default

Ralph

ahhhh, sorry. Excel tries to be helpful ... as ever.

What I'm not sure about are the "rules" that it applies. If there is data
in the cells that you have selected * I think * it does the following:

if you have several cells in a row selected, it assumes you want to move the
cells below up.

if you have several cells in a column selected, it assumes you want to move
the cells below left.

if you are deleting cells in a "blank" area it seems to default to "up"

and if you are deleting a single cell in the midst of other data it assumes
"up"

It's probably very logical when you see the pattern

Regards

Trevor


"Ralph" wrote in message
...
Trevor, thanks, but you're a bit over my head, maybe I should explain
better:
I setup a toolbar icon by going "view:toolbars:customize" and chose the
one
that is for deleting cells...but it is inconsistent

"Trevor Shuttleworth" wrote:

Ralph

Selection.Delete Shift:=xlUp

should always move the cells up.

Regards

Trevor


"Ralph" wrote in message
...
Hi

I setup a toolbar icon to automate the delete-shift cells up function
but
sometimes it shifts cells up and other times it shifts them to the
left,
how
can i have it just do shift UP?

thanks






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
Locking a couple rows so when you do a delete shift row they dont palukagoat Excel Discussion (Misc queries) 3 March 22nd 05 05:25 PM
Macro to delete data in 'green' cells only Steve Excel Worksheet Functions 7 March 19th 05 01:40 PM
How do you delete a cell then shift cell up? Isela Excel Discussion (Misc queries) 4 January 22nd 05 01:41 AM
Locate and delete specific cells David Smith Excel Discussion (Misc queries) 1 January 19th 05 04:45 PM
Delete contents of unprotected cells in workbook BD7447 Excel Worksheet Functions 1 November 6th 04 05:41 PM


All times are GMT +1. The time now is 03:13 PM.

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"