worksheet

Convert all “Worksheet Objects” to images in powerpoint

混江龙づ霸主 提交于 2019-12-03 03:44:47
Really not sure what stack site to place this on. Feel free to move it to the correct one. My question isn't really related to programming, but I have a ton of power points with these "Worksheet Objects" embedded in the slides. Some appear to be graphs from excel as well as other chart type items from Visio. I need to convert all these "Worksheet Objects" to just images within the slide. My process right now is copy the object > Paste as Image > Move to the correct location > Delete the "Worksheet Object". It's a very time consuming and tedious process. Is there a macro I can write or

Looping through worksheets with PHPExcel

偶尔善良 提交于 2019-12-03 01:37:21
I'm using the PHPExcel library to read an Excel file and perform processing on it. I want to loop through each worksheet. I checked the documentation and all I could find was changing the active worksheet index or only loading specified worksheets. How can I loop through all worksheets? Thank you for any help. Here is the documentation's looping example, for reference: <?php $objReader = PHPExcel_IOFactory::createReader('Excel2007'); $objReader->setReadDataOnly(true); $objPHPExcel = $objReader->load("test.xlsx"); $objWorksheet = $objPHPExcel->getActiveSheet(); echo '<table>' . "\n"; foreach (

Excel calculate increase in value every 200ms

徘徊边缘 提交于 2019-12-02 07:28:25
I have this worksheet which gets data from API and its refreshes itself every 200 milliseconds. I want to calculate the change in value which is constantly increasing every 200 ms. For example Cell B2 has a value of 4 after 200 ms its changes to 7 then to 16 then to 26 etc, it just keeps adding value into it. All I want is to subtract the old value from the latest value to get the change for example 7-4=3 or 16-7=9 or 26-16=10. I have added an image for clarification. This shows how I'm getting a data from software. And one more image: I suggest VBA solution, based on worksheet change event

Trying to reference another worksheet in active workbook

天大地大妈咪最大 提交于 2019-12-02 06:35:44
I am trying to make another worksheet active when command button is clicked, but I'm staying within the same active workbook: Sub Submit_Warranty() 'Set warranty data worksheet as active page Sheets("Sheet2").Activate 'Show the submit warranty user form Warranty_Input.Show End Sub I keep getting "subscript out of range" error. Any ideas? If the code you posted is everything, then that error pretty much has to be from an invalid reference. So my guess would be that the actual displayed name is something like "Warranty_Data", while "Sheet2" is likely the VBA object name (maybe you're using them

Is it possible to convert an HTML document to Excel with multiple Worksheets/tabs?

自闭症网瘾萝莉.ら 提交于 2019-12-02 06:30:17
I know we can send regular html files through the tubes and have the browser open them as Excel documents (you do that by changing http headers and the file name, then excel does the conversion). BUT, is it possible to get an HTML document show up in Excel with two Worksheets/Tabs? Here's what I thought might work, but didn't quite get the job done: <html> <body> <table> .... </table> <hr class='pageBreak' /> <= I thought perhaps this would divide stuff up <table> .... </table> <body> </html> Is there a worksheet tab or some kind of namespace I could ADD to html in order to create multiple

VBA Userform as Inputbox

ⅰ亾dé卋堺 提交于 2019-12-02 06:03:34
问题 I have an userform on which you can edit the text in cells of an excel sheet. Since the inputbox doesn't have a skip button, I made an Userform where you can search a value in the whole workbook and replace it with another value entry. The thing is I want to edit the found values one by the other and not all at the same time. I have the following code but what this does is, it replaces every first occurance of the found value in every sheet. How could I change the logic that it replaces the

Trying to run a worksheet change event twice

梦想的初衷 提交于 2019-12-02 02:01:54
I am trying to run this worksheet change event for two different columns(A) and (I)... Private Sub Worksheet_Change(ByVal Target As Range) Dim A As Range, B As Range, Inte As Range, r As Range Set A = Range("A:A") Set Inte = Intersect(A, Target) If Inte Is Nothing Then Exit Sub Application.EnableEvents = False For Each r In Inte r.Offset(0, 1).Value = Date Next r Application.EnableEvents = True End Sub This event is something i found on this forum. Its purpose is to make it so whenever data is ever entered into column "a" it auto inputs the date into the cell directly right of it. I want this

VBA Userform as Inputbox

◇◆丶佛笑我妖孽 提交于 2019-12-02 00:35:24
I have an userform on which you can edit the text in cells of an excel sheet. Since the inputbox doesn't have a skip button, I made an Userform where you can search a value in the whole workbook and replace it with another value entry. The thing is I want to edit the found values one by the other and not all at the same time. I have the following code but what this does is, it replaces every first occurance of the found value in every sheet. How could I change the logic that it replaces the values from first sheet then from second and so on. Dim ws As Worksheet Dim Loc As Range Dim StrVal As

Excel copy worksheet

时间秒杀一切 提交于 2019-12-01 13:41:25
In Excel VBA (or if you could in C#, I'm using the Excels Object Library from .NET), how to copy a worksheet from one workbook to another sheet in another workbook. Basically, what I'm doing is copying every of my sheet into a central worksheet in another workbook and then will do all the stuff I need to do there. I tried using Range.Copy method, I gave the Destination parameter as the range of the other workbook. It worked perfectly, but there is one problem, that is every time I copy it replaces the older data in that worksheet. How do I do something like so that when I paste it pastes in

Excel copy worksheet

旧巷老猫 提交于 2019-12-01 11:42:44
问题 In Excel VBA (or if you could in C#, I'm using the Excels Object Library from .NET), how to copy a worksheet from one workbook to another sheet in another workbook. Basically, what I'm doing is copying every of my sheet into a central worksheet in another workbook and then will do all the stuff I need to do there. I tried using Range.Copy method, I gave the Destination parameter as the range of the other workbook. It worked perfectly, but there is one problem, that is every time I copy it