PC Review


Reply
Thread Tools Rate Thread

converting table back to range

 
 
Kenny Louden
Guest
Posts: n/a
 
      21st Jun 2009
I'm trying to convert a table back into a range via a macro using Excel 2007,
and I'm having a hard time finding the method.

I tried recording the macro, but it's not picking up the steps whenever I
goto the Table Tools ~ Tools and click 'convert to range'.

Any advice is greatly appreciated.
Thanks
kenny

 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      21st Jun 2009

I understand that MS changed the xl2003 "List" object to a "Table" object.
The list object has an "Unlist" method.
I bet that the xl 2007 table has something very similar.
Check out the help file... Untable? <g>
--
Jim Cone
Portland, Oregon USA



"Kenny Louden"
<(E-Mail Removed)>
wrote in message
I'm trying to convert a table back into a range via a macro using Excel 2007,
and I'm having a hard time finding the method.
I tried recording the macro, but it's not picking up the steps whenever I
goto the Table Tools ~ Tools and click 'convert to range'.
Any advice is greatly appreciated.
Thanks
kenny

 
Reply With Quote
 
Kenny Louden
Guest
Posts: n/a
 
      21st Jun 2009

Jim,
Thanks for the information.
Believe or not it's still the Unlist method of the ObjectList. Go figure.

kenny

"Jim Cone" wrote:

>
> I understand that MS changed the xl2003 "List" object to a "Table" object.
> The list object has an "Unlist" method.
> I bet that the xl 2007 table has something very similar.
> Check out the help file... Untable? <g>
> --
> Jim Cone
> Portland, Oregon USA
>
>
>
> "Kenny Louden"
> <(E-Mail Removed)>
> wrote in message
> I'm trying to convert a table back into a range via a macro using Excel 2007,
> and I'm having a hard time finding the method.
> I tried recording the macro, but it's not picking up the steps whenever I
> goto the Table Tools ~ Tools and click 'convert to range'.
> Any advice is greatly appreciated.
> Thanks
> kenny
>
>

 
Reply With Quote
 
Patrick Molloy
Guest
Posts: n/a
 
      22nd Jun 2009

under the "Table Tools" group, you'll find a "convert to range" method. so
it can be done manually, tho' I haven't discovered how to code it (yet)



"Kenny Louden" <(E-Mail Removed)> wrote in message
news:A4369817-453B-4ABF-AB48-(E-Mail Removed)...
> Jim,
> Thanks for the information.
> Believe or not it's still the Unlist method of the ObjectList. Go figure.
>
> kenny
>
> "Jim Cone" wrote:
>
>>
>> I understand that MS changed the xl2003 "List" object to a "Table"
>> object.
>> The list object has an "Unlist" method.
>> I bet that the xl 2007 table has something very similar.
>> Check out the help file... Untable? <g>
>> --
>> Jim Cone
>> Portland, Oregon USA
>>
>>
>>
>> "Kenny Louden"
>> <(E-Mail Removed)>
>> wrote in message
>> I'm trying to convert a table back into a range via a macro using Excel
>> 2007,
>> and I'm having a hard time finding the method.
>> I tried recording the macro, but it's not picking up the steps whenever I
>> goto the Table Tools ~ Tools and click 'convert to range'.
>> Any advice is greatly appreciated.
>> Thanks
>> kenny
>>
>>

 
Reply With Quote
 
Patrick Molloy
Guest
Posts: n/a
 
      22nd Jun 2009

doh

Sub removeTable()
Dim lo As ListObject
Set lo = ActiveSheet.ListObjects(1)
lo.Unlist
set lo = nothing
End Sub

sorry - i should pay more attention. well, its Monday ...


"Patrick Molloy" <(E-Mail Removed)> wrote in message
news:F6ED6EF5-872D-4DB9-9789-(E-Mail Removed)...
> under the "Table Tools" group, you'll find a "convert to range" method. so
> it can be done manually, tho' I haven't discovered how to code it (yet)
>
>
>
> "Kenny Louden" <(E-Mail Removed)> wrote in message
> news:A4369817-453B-4ABF-AB48-(E-Mail Removed)...
>> Jim,
>> Thanks for the information.
>> Believe or not it's still the Unlist method of the ObjectList. Go figure.
>>
>> kenny
>>
>> "Jim Cone" wrote:
>>
>>>
>>> I understand that MS changed the xl2003 "List" object to a "Table"
>>> object.
>>> The list object has an "Unlist" method.
>>> I bet that the xl 2007 table has something very similar.
>>> Check out the help file... Untable? <g>
>>> --
>>> Jim Cone
>>> Portland, Oregon USA
>>>
>>>
>>>
>>> "Kenny Louden"
>>> <(E-Mail Removed)>
>>> wrote in message
>>> I'm trying to convert a table back into a range via a macro using Excel
>>> 2007,
>>> and I'm having a hard time finding the method.
>>> I tried recording the macro, but it's not picking up the steps whenever
>>> I
>>> goto the Table Tools ~ Tools and click 'convert to range'.
>>> Any advice is greatly appreciated.
>>> Thanks
>>> kenny
>>>
>>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
sorting data from one table/range to another table/range Danko Jotanovic Microsoft Excel Misc 1 15th Apr 2009 01:06 PM
converting from CF 3.5 back to 2.0 Rob C Microsoft Dot NET Compact Framework 1 11th Sep 2008 03:03 PM
Converting a table containing Records of irregualar number of fields to a normal Table inetgnu@gmail.com Microsoft Access 5 27th Mar 2007 12:52 AM
Converting PDF back to PPT =?Utf-8?B?aGYzMjE=?= Microsoft Powerpoint 5 23rd Nov 2006 04:21 PM
How do I change a range name back to the underlying data range? =?Utf-8?B?Q29saW4=?= Microsoft Excel Worksheet Functions 1 26th Sep 2005 05:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:42 AM.