Hi I am newbie with Azure Workbook and for now I had a workbook like this
As you can see that the headers are placed horizontally but now I want to change the dimensions vertically like this
is there any way to change the grid setting of Azure Workbook? Thanks you so much and have a good day
Related
I would like to build two workbooks. Workbook A contains a list of animals and pictures as raw data; Workbook B contains a list of animals, and could automatically get their corresponding pictures from Workbook A.
If they were numbers or texts rather than pictures, we could connect the two workbooks by external links (to ranges or names), or by Power Query. But it seems that external links or Power Query don't work with pictures?
Does anyone know how connect two workbooks to achieve this? Does anyone know if it is possible to assign a picture to a cell?
You can use a vlookup-type of setup where the picture changes based on the value entered into a cell. There is an explanation here: https://exceloffthegrid.com/automatically-change-picture/
You'll have to use paste as link or link to picture. I personally cannot test this because Office 365 has paste as link disable right now.
EDIT:
I figured out how to work around Excel.
Insert a Pic
Size it down to the desired cell height/width
Don't click on the pic with the mouse, but move the directional keys with the keyboard (i.e., the green selection [] box) to the cell behind the pic.
Control + C to copy, not the mouse
Pastespecial as linked picture
So, I can't see how you can link them directly but you can use VBA to copy the picture from one workbook to another. You may not like that approach but it's plausible in theory.
Your question regarding whether or not a picture is linked to a cell is a firm yes.
A picture in Excel is classed as a shape. You can loop through each shape and determine if it's a picture or not and then from there, you can copy it from one workbook to another into any cell you care to specify.
The cell the picture resides in can be determined from the TopLeftCell property of the shape itself.
You can test that via this (sandboxed) code below.
Public Sub CopyPictures()
Dim objShape As Shape, objFromSheet As Worksheet, objToSheet As Worksheet
Set objFromSheet = ThisWorkbook.Worksheets("From")
Set objToSheet = ThisWorkbook.Worksheets("To")
For Each objShape In objFromSheet.Shapes
If objShape.Type = msoPicture Then
objShape.CopyPicture
objToSheet.Range(objShape.TopLeftCell.Address).PasteSpecial
End If
Next
End Sub
Open a new workbook and create two sheets, name them "From" and "To".
Copy a few pictures into the "From" sheet and then run the macro.
If you're happy using VBA then the above code will give you a starting point of getting the image from one workbook to another. You just have to fill in the gaps and write the logic around it.
Is it straight forward? Depending the desired outcome, it may very well not be. All possible though with time and effort.
I know that it's not perfect method, but this might help you.
In Workbook A images should be put on specific cell and perfectly located. e.g. C2:
In Workbook B you need to put an image, you can paste any image, then select the picture and put the link to cell of Workbook A as a formula: =[Book1]Sheet1!$C$2
I have a PowerPoint presentation containing Excel charts and .png files. This presentation needs to be updated fairly often and I’d like to use VBA for this. However, I’ve read up on linking charts from Excel to Powerpoint and it seems not to be bug-free, but I don't really know anything about it.
So I need advice what makes the most sense because I don't have any experience with this. Is updating the charts usually not an issue? Or would it be more fool-proof to delete the old charts and insert the new ones? In case it's the latter, would I simply define the dimensions of the chart or does the use of placeholders offer any advantages?
What I've done in the past is use VBA to paste pictures of the charts into the slides. Then the presentation serves as a snapshot, and I don't need to worry about links.
You can set up a table with details like chart name, worksheet name, slide number, image size (width, height) and position (left, top). Then the code moves down the list, finding the worksheet, copying the chart, activating the slide, pasting the chart as a picture, moving it into position. Best results are when the chart is sized right in Excel so you don't need to resize it in PowerPoint.
It's been a while, so I don't have that code at my fingertips. I'll hunt around when I have a chance.
This is what the graphs look like; the slicer is visible on the left and controls visible data.
I have a table that is used to generate many graphs on a separate worksheet and I'm using a slicer to filter what data is displayed on the graphs. All of the graphs are used to analyze every data set. The data sets all have the same format. Is there a way just to add the new data and have the graphs reference the first worksheet so that just changing the order updates the graphs?
Or maybe someone knows a better way to do this? I'm able to copy and paste new data into the first worksheet and the graphs update but the slice is then removed. Thanks in advance for any help or guidance.
The answer is to use macros!
Start by recording the macro and then modify the script to meet your needs accordingly. I was able to table the csv, create a new worksheet, and graph all the data as well as add and resize the slicer. By changing a few variable names this macro can now be applied to all base worksheets.
I am creating schedule and Gantt chart on a spreadsheet. I need to split this data on two vertical windows on the same worksheet.
Split command under 'View' splits the same worksheet in different windows and shows all the data on both windows. I need to display schedule in one windows and Gantt chart in other. How do I do this?
Basically, on a single worksheet, I want to
1. freeze panes horizontally at some specified row
2. split panes vertically at some specified column
3. and when I split panes vertically, want to actually split the data and not have copies on the same workbook created on left and
right side of split line.
Instead of Split use New Window command (still in View), then click Arrange all, select the desired arrangement and check Windows of active workbook. This will show the same workbook in two different windows and you will be able to navigate in them independently.
I have created a dashboard sheet by using the camera tool to paste graphs from other sheets as linked picture in the dashboard sheet. When I copy the whole sheet (by right clicking the sheet tab) and paste it as a new sheet in the same workbook, the scale of my graphs reverts to the scale of the original graph. This results in the whole dashboard being distorted with overlapping graphs.
What did I do already:
googled it
I have tried numerous combinations of "Lock aspect ratio" and "Relative to original picture size" under Size, and "Move but don't size with cells", "Don't move or size with cells" under Properties.
It looks like copying every object one by one works, but if you copy the whole sheet it distorts everything.
Another guy posted exactly the same problem here but he didn't get any answer.
It would be great if someone is able to help me with this annoying problem.
Johan
I had the same problem - when copying a worksheet with a paste link picture and it loses scale
I got around it by creating a text box in the origin square and then putting the picture into the text box
Then when copying the sheet with the linked picture file it does not lose scale
I found a way around
Create a chart object (delete all chart related graphics = empty area).
Set width, height of chart object equal to your linked picture.
Click your linked picture to select and copy (Ctrl+C) then unselect.
Click chart object to select and paste (Ctrl+P)
DONE!
Now, your linked picture size won't change anymore