LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default Remove data from column

Hi all. I have the following bit of code that presents an input box
for a user to add data to the next available cell in column A. I
would like to now present the user with a pop-up menu picklist that
will display all entries in column A, allow them to pick on, and upon
clicking OK remove that selected item from column A.

Any ideas? Thanks!

Sub NewCategory()

Dim ans As String

ans = InputBox("Enter New Category", "New Category")

Sheets("Cat Picklist").Cells(2, "a").End(xlDown).Offset(1) = ans

End Sub
 
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
Remove a column but not data table entry ClaireP Charts and Charting in Excel 4 October 9th 09 06:32 AM
Stacked column, remove label if data is zero Mr.LuckyMe Charts and Charting in Excel 3 October 23rd 08 07:48 PM
Find and remove data from a column jlclyde Excel Discussion (Misc queries) 3 May 21st 08 09:35 AM
Scan and remove column data query IE Excel Worksheet Functions 5 March 23rd 07 09:50 AM
how do i remove a portion of data from a column SynAtl Excel Discussion (Misc queries) 2 March 15th 07 06:42 PM


All times are GMT +1. The time now is 10:46 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"