PC Review


Reply
Thread Tools Rate Thread

Changing Header exported to Excel

 
 
Adam_needs_help
Guest
Posts: n/a
 
      7th Oct 2009
I am exporting tables to excel and it automatically makes the header in the
excel file the table name. I want to be able to add something to that
header.

For example if the table name is "ABC" I want the header in excel to be "ABC
Delicious"

I want this to happen automatically (so it can be part of a macro) as I am
exporting many tables on a daily basis.

Thanks.
 
Reply With Quote
 
 
 
 
Justin
Guest
Posts: n/a
 
      7th Oct 2009
Use a query to export the data instead of the table and create the field
headings you want.

"Adam_needs_help" wrote:

> I am exporting tables to excel and it automatically makes the header in the
> excel file the table name. I want to be able to add something to that
> header.
>
> For example if the table name is "ABC" I want the header in excel to be "ABC
> Delicious"
>
> I want this to happen automatically (so it can be part of a macro) as I am
> exporting many tables on a daily basis.
>
> Thanks.

 
Reply With Quote
 
Adam_needs_help
Guest
Posts: n/a
 
      7th Oct 2009
I don't think I was clear. I am talking about sheet header, not column
headings. So I want to be able to change the sheet header. Hopefully that
makes sense.

"Justin" wrote:

> Use a query to export the data instead of the table and create the field
> headings you want.
>
> "Adam_needs_help" wrote:
>
> > I am exporting tables to excel and it automatically makes the header in the
> > excel file the table name. I want to be able to add something to that
> > header.
> >
> > For example if the table name is "ABC" I want the header in excel to be "ABC
> > Delicious"
> >
> > I want this to happen automatically (so it can be part of a macro) as I am
> > exporting many tables on a daily basis.
> >
> > Thanks.

 
Reply With Quote
 
Roger Carlson
Guest
Posts: n/a
 
      9th Oct 2009
Actually, the same way. Create a query named whatever you want the sheet
tab to be named. Export the query instead of the table. You can then
reference the sheet tab in your header.

--
--Roger Carlson
MS Access MVP
www.rogersaccesslibrary.com
http://rogersaccessblog.blogspot.com/


"Adam_needs_help" <(E-Mail Removed)> wrote in message
news:3A06D5A7-F273-4664-9F2A-(E-Mail Removed)...
>I don't think I was clear. I am talking about sheet header, not column
> headings. So I want to be able to change the sheet header. Hopefully
> that
> makes sense.
>
> "Justin" wrote:
>
>> Use a query to export the data instead of the table and create the field
>> headings you want.
>>
>> "Adam_needs_help" wrote:
>>
>> > I am exporting tables to excel and it automatically makes the header in
>> > the
>> > excel file the table name. I want to be able to add something to that
>> > header.
>> >
>> > For example if the table name is "ABC" I want the header in excel to be
>> > "ABC
>> > Delicious"
>> >
>> > I want this to happen automatically (so it can be part of a macro) as I
>> > am
>> > exporting many tables on a daily basis.
>> >
>> > Thanks.



 
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
Excel not responding when changing custom header/footer Robert Microsoft Excel Crashes 0 23rd Feb 2010 12:26 AM
Changing Excel Header font size through Access-TJ ambushsinger Microsoft Access VBA Modules 2 13th Nov 2008 06:56 PM
Changing (Part of) Header Without Changing Footer or Rest of Header Paul Cross Microsoft Excel Programming 3 20th May 2004 10:42 PM
Any way to prevent MM changing exported video size? jim Windows XP MovieMaker 4 5th Dec 2003 06:14 PM
DUMPEL exported text file format changing Chris Kunselman Microsoft Windows 2000 Printing 0 8th Aug 2003 11:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:37 PM.