Solved

SQL Data Into Excel

Posted on 2011-09-29
3
291 Views
Last Modified: 2012-06-27
Hi all

I am currently creating a spreadshhet using SQL as my datasource i have imported the data and set it to refresh on open and users can also perform a background refresh.

The problem that i am having is when i have imported the data and sized the columns appropriatly everytime i refresh the data the formating i placed on the sheet is lost, is there a way to prevent this from happening?

John
0
Comment
Question by:pepps11976
3 Comments
 
LVL 19

Accepted Solution

by:
akoster earned 500 total points
Comment Utility
There is a way :

click on a data cell
click on "Properties" in the data - connections tab
remove the ticks for  'keep cell formatting' and 'adjust column widht'
0
 

Author Comment

by:pepps11976
Comment Utility
What a Star Thanks very much
0
 
LVL 6

Expert Comment

by:Faisal Khan
Comment Utility
are you doing via vba? try using cell.value i.e, sheet1.cell(x,y).value ="123456" instead of sheet1.cells(x,y)="123456"
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now