Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default access query reports to excel formatting help


hi. i am really very new in excel programming. i did not even knew that
we can do some programming in Excel until last week when i came up with
a problem. i hope you guys can help me out. but first let me tell you i
dont have no clue about programming in excel. so treat me like a newbie
and i will really appreciate that.
i have created a database in Msaccess. i have 3 buttons for my reports
based on my query in my access form.
1) Problems resolved[Field Names(Problems(text), Short
description(text), Long description(Memo), DateOpen(text), Date
Closed(Text)].
2) Problems not resolve(Same as Above)
3) Problems all(Same As Above)
In access i am using an onclick button procedure through VB for all my
3 buttons which is as follow:
Private Sub Problems_not_resolve_Click()
DoCmd.OutputTo acReport, "Problems not resolved", acFormatXLS
End Sub
when a user clicks on any of the button it will give him an option to
save the file in his computer in an excel worksheet in which i have
accomplished. now here is what my problem is searched alot with
different answers but cannot understand it since i am a newbie in this
programming.
my problem is when a user opens that file he recently saved in his
computer through that onclick button procedure in excel, the whole
formatting is bad. Long description field text has the cell width too
much or some fields width is too short that the whole description
cannot be displayed properly. my question is that is there anyway that
when a user save that file and open that file the excel worksheet
should be perfectly formatted without doing any manually resizing ?
please help me. i am stuc k with this thing for like 9 days now and
this is the end of my database.
Thanks alot


--
fastmike
------------------------------------------------------------------------
fastmike's Profile: http://www.excelforum.com/member.php...o&userid=36723
View this thread: http://www.excelforum.com/showthread...hreadid=564493

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8
Default access query reports to excel formatting help

Hi Fastmike - does it have to be done exactly in this way? Take a look at
Data/Import External Data in Excel. You can link the ss to the .mdb file, and
each time it opens it re-links and updates the data. It can be linked to a
Table or Query and you can then alter the Excel side of the Query. I have set
up 20 workstations doing this and many of the ladies do there own 'ad hoc'
links. You can then say to either keep or not keep the formatting.

HTH - Dika

"fastmike" wrote:


hi. i am really very new in excel programming. i did not even knew that
we can do some programming in Excel until last week when i came up with
a problem. i hope you guys can help me out. but first let me tell you i
dont have no clue about programming in excel. so treat me like a newbie
and i will really appreciate that.
i have created a database in Msaccess. i have 3 buttons for my reports
based on my query in my access form.
1) Problems resolved[Field Names(Problems(text), Short
description(text), Long description(Memo), DateOpen(text), Date
Closed(Text)].
2) Problems not resolve(Same as Above)
3) Problems all(Same As Above)
In access i am using an onclick button procedure through VB for all my
3 buttons which is as follow:
Private Sub Problems_not_resolve_Click()
DoCmd.OutputTo acReport, "Problems not resolved", acFormatXLS
End Sub
when a user clicks on any of the button it will give him an option to
save the file in his computer in an excel worksheet in which i have
accomplished. now here is what my problem is searched alot with
different answers but cannot understand it since i am a newbie in this
programming.
my problem is when a user opens that file he recently saved in his
computer through that onclick button procedure in excel, the whole
formatting is bad. Long description field text has the cell width too
much or some fields width is too short that the whole description
cannot be displayed properly. my question is that is there anyway that
when a user save that file and open that file the excel worksheet
should be perfectly formatted without doing any manually resizing ?
please help me. i am stuc k with this thing for like 9 days now and
this is the end of my database.
Thanks alot


--
fastmike
------------------------------------------------------------------------
fastmike's Profile: http://www.excelforum.com/member.php...o&userid=36723
View this thread: http://www.excelforum.com/showthread...hreadid=564493


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
Importing EXCEL Spreadsheets into ACCESS -- Macro or VBA? Excel Worksheet Functions 0 July 12th 06 10:08 PM
enable automatic refresh Vass Excel Worksheet Functions 2 March 11th 06 04:36 AM
Renaming Access Query used by Excel UEUC2 Excel Discussion (Misc queries) 1 December 13th 05 05:19 PM
Access Query Linked to Excel fixed rows Chris Edmunds Links and Linking in Excel 3 September 3rd 05 07:42 AM
Number formatting when importing from Access to Excel Alicia Rittenhouse Excel Discussion (Misc queries) 1 August 25th 05 10:27 PM


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