Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Shift data to left

Hi all. I have a worksheet that is basically a form that users fill out.
Column A has projects listed down the column. Columns B through CA have
names of people assigned to projects.

So in A1 is ProjectA. In B1 the name Bob, In C1 the name Bill, in D1 the
name Joe, etc..
Columns B through CA are pick lists created from DataValidation. In the
datavalidation list, I have code that, when a name is removed from the
list, the code removes that name from the front table. So if Bob is removed
from the list, the code clears the contents of cell B1.

This leaves a blank cell, followed by populated cells, and each row will be
different. My question is this - is there a way to add to the code so that
when a name is removed, all cells shift to the left filling in the blank
cells? It can be one macro that will examine the entire sheet (or a
specified range) and shift everything to the left appropriateply?

Thank you!!


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
When I hit shift + left click highlighted object stuck. Shawn Andros Excel Discussion (Misc queries) 1 July 7th 06 11:47 PM
How can I shift my data line to the left? bmeril Charts and Charting in Excel 1 January 19th 06 07:59 PM
VBA - Left Shift to be Activated when Sheet is selected. BradWarr Excel Programming 1 June 22nd 04 01:25 PM
Delete a blank cell and shift left jrb Excel Programming 8 February 28th 04 12:20 PM
Delete a blank cell and shift left jrb[_2_] Excel Programming 1 February 26th 04 09:52 PM


All times are GMT +1. The time now is 02:48 PM.

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"